Currency input field will not accept minus sign with numpad
ryanalbrecht opened this issue · comments
ryanalbrecht commented
-
Describe the bug
I have an currency input where I allow a minus sign. The minus sign work if I use the minus key on top row of the keyboard, but if I use the minus sign using the numpad it clears the input field. (tried with numlock on and off) -
Add a link to a codepen, jsfiddle or other example page which shows the problem
<input
type="text"
class="form-control text-end"
name="quantity"
value=""
data-inputmask="'alias':'currency','allowMinus':true"
autocomplete="off"
required
id="trade-form-quantity"
>
-
OS:
Windows 11 -
Browser
Chrome Version 111.0.5563.147 (Official Build) (64-bit) -
Inputmask version
inputmask@5.0.7
ryanalbrecht commented
Nevermind, seems this was fixed in 5.0.8