Posts by Leonardo Xavier • 136 points
1 post
-
2
votes2
answers1671
viewsA: Validate input type="number" >= 1 with Angular
You can modify your Pattern to: /^[1-9][0-9]*$/ will not allow numbers starting at 0
angularanswered Leonardo Xavier 136