You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem or use case? Please describe.
A clear and concise description of what the problem is. [e.g. {Component Name} has a problem when {...}]
We're using soho-mask for our input field for number.
We have this use case where an input field will only accept a range of value.
for example: ( min: -1,350,600,456, max: 1,540,000,000 ).
as a work around, we've used for now the integerLimit option.
in this example, we've used integerLimit of 10. but it will still accept 2,000,000,000.
Describe the solution you'd like
A clear and concise description of what you want to happen. [e.g. {Component Name} would work better if {...}]
add minValue and maxValue options to only accepts inside the range.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
We've tried using <input type=number> but it causes an issue with soho-mask, due to the separator symbols.
Additional context
Add any other context or screenshots about the feature request here.
And what application do you work on? M3 CLM
In addition, if in case this gets implemented, implementation of the minValue and maxValue to enterprise-ng is much appreciated.
The text was updated successfully, but these errors were encountered:
@aldsdelram this would be really hard since we are masking only typing not actual values (think of a regex on when you type). So i think this is out of scope for mask. I would use validation for that case.
Is your feature request related to a problem or use case? Please describe.
A clear and concise description of what the problem is. [e.g. {Component Name} has a problem when {...}]
We have this use case where an input field will only accept a range of value.
for example: ( min: -1,350,600,456, max: 1,540,000,000 ).
as a work around, we've used for now the
integerLimit
option.in this example, we've used
integerLimit
of 10. but it will still accept 2,000,000,000.Describe the solution you'd like
A clear and concise description of what you want to happen. [e.g. {Component Name} would work better if {...}]
minValue
andmaxValue
options to only accepts inside the range.Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
<input type=number>
but it causes an issue with soho-mask, due to the separator symbols.Additional context
Add any other context or screenshots about the feature request here.
And what application do you work on? M3 CLM
minValue
andmaxValue
to enterprise-ng is much appreciated.The text was updated successfully, but these errors were encountered: