This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
input directive does not update html5 native validation. #5500
Closed
Description
Just an idea, not an issue. Perhaps the $setValidity method in the input directive could call the HTML5 constraint validation api?
Some validation attributes are the same as the standard html5 attributes and will cause native browser validation, however others will not. Perhaps we could force the input directive to be more html5 compatible by integrating better with the element.validity.* properties?