Decimal issue, not all countries are using "." for decimal
goors opened this issue · 1 comments
goors commented
What about for example "4,6" instead of "4.6". Also a problem with length. If you want to have a decimal number and say like this:
min = 1
max = 300
length = 4
and then type in 400 it is only changed to max when you do blur, and second if you want a number with three digits and dot you have to put in length 4 because "." is also taken into consideration.
Like some big bugs. You should look into that.
joseluisq commented
Sure, but Javascript uses dots for decimals. That implies to using some something to replace it with some comma. Nonetheless, this issue could be a new feature.
For max/length
, we can considerate something like: if max
exceed the length
value then length
must assume the max
length.
PRs welcome.