Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <label>Items</label>
- <input ng-minlength="2" ng-model="items" name="dInto"
- type="number" class="ng-dirty ng-valid ng-touched">
- <span style="color:red" ng-show="myForm.dInto.$error.type">Please enter a number</span>
- <span style="color:red" ng-show="myForm.dInto.$error.minlength">Must be 2 or more</span>
Add Comment
Please, Sign In to add comment