Closed rudasn closed 10 years ago
Thank you for this pull request, I will have a look at it soon.
Thank you for the concern with this problem. In IE8 I'm having this error on the password input.
Error: This command is not supported.<input class="form-control ng-pristine ng-valid" value="" type=password placeholder="Your password" ng-model="credentials.password" required>
Any thoughts on this?
Thank you again.
Thanks for this PR, and sorry having waited so long. Jacob
Browsers throw an error when changing the type property of an input after it has been created. So when it comes to password inputs the directive doesn't work (not sure why the tests don't catch this).
This fix creates a clone of the original element, changes it's type, and then appends it to the DOM.