Justin, I need to use input pristine, not form. Sander, It is incoorect way. I can use several password inputs in form and I need set original name to each input.
I don't understand why setAttribute not work. First Angular compiles form-password directive, next — ng-form directive and bind form scope and formController to template. It should work... пятница, 7 февраля 2014 г., 17:29:13 UTC+3 пользователь Sander Elias написал: > > Hi Олег, > > Has to do with the way you transport your other attributes to the input. > The pristine of the complete form is ok, > it's just the inputs pristine that's not set. I changed your code a little > bit, and now it does, have a look: > http://plnkr.co/edit/qb2ByujfNrTyRnHRu8RJ?p=preview > > Regards > Sander > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/groups/opt_out.
