AngularJS ng-attr-placeholder does not work in input type text

I realized that the placeholder attribute in Internet Explorer 11 does not work when the cursor is on (what a surprise!), Despite the fact that w3schools says that it is compatible with ie10 + (although try them yourself the example doesn’t work well, i.e. )

This is what users see when they want to log in:

enter image description here

so I found near ng-attr-placeholder , but I can't get it to work.

<input type="password" name="password" id="password" ng-model="user.password" class="form-control" ng-attr-placeholder="Password" required="" autofocus="">

Any ideas what I'm doing wrong?

Thank you in advance!

+4
source share

Source: https://habr.com/ru/post/1607615/


All Articles