I create validate input
<input type="number"
step="0.1"
required
min="0.1"
max="10"
ng-model="unit.length">
But I can input incorrect value. Ideally, if I enter an incorrect value, it
must be corrected to correct. For example, 20 is corrected to 10, 0 is
corrected to 0.1
How I can realize it in Angular?
--
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.