I am trying to validate values of an input field using directives and bound 
that corrected input value using ngModel

Created a sample code having one input field that takes only 1-20 numbers.
below is the plunker link: 
https://plnkr.co/edit/GOcCrb7gny0rqW1x4wky?p=preview

Corrected value is shown in the html without any issue but the same is not 
getting updated in actual object

Please help me how to solve this issue.

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" 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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to