issues
search
40818419
/
react-code-input
React component for entering and validating PIN code.
MIT License
314
stars
129
forks
source link
Input type number allows for plus sign (+)
#164
Open
Memotrf
opened
2 years ago
Memotrf
commented
2 years ago
Description
When input
type
is
number
, pressing plus sign
(+)
.
It can press
+
sign
2 times
in one input.
The
value
is
correct
, it does't have + sign in the value.
The + sign will disappear when press number in any input after press + sign.
Expected behavior
(+)
should not be valid to enter
Preview
Version
"react-code-input": "^3.10.1"
Description
type
isnumber
, pressing plus sign(+)
.+
sign2 times
in one input.value
iscorrect
, it does't have + sign in the value.Expected behavior
(+)
should not be valid to enterPreview
Version