Inputmask
Inputmask copied to clipboard
Display/Input format in numeric input
Hi there,
first of all thanks for the great library!
I am trying to figure out if there is way to use different format/masks for numeric input when displaying and when in edit(input mode)
The desired behavior is when user is typing 1k
the focused input shows 1000
and when blurred shows 1k
and same for other shortcuts (i.e. m)
I checked the numeric extension source code and found the part that converts user input to multiplier, but haven't found a way to show compact version when in display (blurred mode)
I noticed date extension has something that might be close to what I am looking for displayFormat/inputFormat
Any suggestions how this can be achieved?
Thanks!