Hi there,

I'm busy creating a directive that adds validation directives to its 
contents dynamically,
so, this directive has a 'priority' of 1000 and 'terminal' set to true. 
That way I can halt compilation,
add my stuff and invoke $compile() manually, but I have run into some 
behavior that puzzles me.

In short, when I add a ng-minlength directive the ngModel seems to get 
screwed up.

I have created a very simple example in this plunkr:

http://plnkr.co/edit/xtmhZaIQNlp8zsZQYzvQ?p=info

As you'll see, the textinput that has an ng-minlength directive won't show 
the model data.
However, the other directive, ng-maxlength, works without problems. (As 
have other directives
I've tried).

I am scratching my head over this and I really hope someone can explain 
what I'm doing
wrong here...

thanks a lot in advance,

Roland Zwaga

-- 
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 angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to