Is seems that in addition to marking a form field as $invalid when the
value entered doesn't match the regex, ng-pattern also clears the value of
the associated model property. Why does it do that? I'm trying to display
an error message when certain invalid values are entered, but I can't
because the value I want to test is gone.

-- 
R. Mark Volkmann
Object Computing, Inc.

-- 
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