Sorry, I meant to say that it works for the *last* input field of each type.

On Thursday, February 5, 2015 at 9:26:37 PM UTC-5, Rootz wrote:
>
> I'm working on writing a directive that takes a configuration of form 
> fields and dynamically generates the form elements and adds the configured 
> validation directives to the form.  After adding the attributes, the 
> element is compiled via the $compile service.
>
> Adding the directive attributes dynamically, as is done in the following 
> plnkr, works for the first input field of each type (first input, first 
> text area, etc). When I have two textarea fields, for instance, the second 
> field affects the validation of the first, and typing in the first has no 
> effect at all. This seems to me to be an angular bug.
>
> See This Plnkr <http://plnkr.co/edit/c92R7LtyjLkPh18OqiU7?p=preview>
>

-- 
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/d/optout.

Reply via email to