issues
search
Mojang
/
ore-ui
💎 Building blocks to construct game UIs using web tech.
https://react-facet.mojang.com/
MIT License
404
stars
19
forks
source link
Only accept numerical characters if the input type is number
#112
Closed
vb
closed
1 year ago
vb
commented
1 year ago
Issue
Input type number accepts
e
character as the initial character
If
e
is added to a string of numbers, the field is cleared
(Cannot understand why only
e
is accepted)
Solution
Block non-numerical characters if the input type is number
Fixes Mojang/minecraft-ui#4946
Issue
e
character as the initial charactere
is added to a string of numbers, the field is clearede
is accepted)Solution
Fixes Mojang/minecraft-ui#4946