Dialog numeric input min and max completely ignored
-
Hi, I’m trying to set
min
andmax
property on a dialog input withtype='number'
.
I’ve setmin: 0
andmax: 32
but nothing happens when I write a number greater than 32 or less than 0.
This happens both using amodel
which is an object property and a number like docs example.
Anyone can help? -
This post is deleted! -
@n-taddei - the min and max properties are only for when the user uses the up and down keys to increase or decrease the number. As the docs say, don’t use these props for validation.
Scott