glints-aries icon indicating copy to clipboard operation
glints-aries copied to clipboard

`NumberInput` allows non-numeric input

Open wei2912 opened this issue 5 years ago • 3 comments

NumberInput appears to allow non-numeric input (such as characters), although it should only allow numbers to be entered.

The following screenshot is from a modal I was coding: Screenshot from 2020-05-04 18-04-52

This behaviour can be replicated on http://aries.glints.design/?path=/story/input--numberinput as well.

wei2912 avatar May 04 '20 10:05 wei2912

Did you just type them in? When I type nothing appears (except when typing e for some reason) xD

westwood846 avatar May 04 '20 10:05 westwood846

Please state your OS and browser!

westwood846 avatar May 04 '20 10:05 westwood846

Did you just type them in?

Yep haha, I didn't copy paste the text. Though that works as well...

Please state your OS and browser!

Oops, I forgot about that... Firefox 76.0, Ubuntu 18.04.

wei2912 avatar May 13 '20 15:05 wei2912