Automatically fix the value if value exceeded the limit
rikusen0335 opened this issue · comments
What problem you are trying to solve?
When putting number like currency, I want to set the max and behave it like automatically fix into max value.
ex) field's max value is 100. Then user enters 99, and put 1 into the field. This will make field's value is 991 so far, but it want to be 100 because it's max value limit is 100.
Describe the solution you'd like
Make new option around Number mask like:
{
mask: Number,
max: 100,
fixOnExceed: true
}
Describe alternatives you've considered
Nothing. I'm not really familiar with this lib, so maybe something alter way we can.