Skip to content

Is initial-validity broken? #257

@rakeshgudipudi

Description

@rakeshgudipudi

I tried adding initial-validity to an input element. But it was always false.
I had a look into the source code and figured it was set from scope. But, i guess it had to be initialized from attrs.

The following fixed it for me.
var initialValidity=attrs.initialValidity;

Let me know if i am on right track or is there a solution without changing source.
Thanks

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions