Skip to content

NumericInput trims value to 1 decimal point onBlur #5878

Answered by adidahiya
ayuan37 asked this question in Q&A
Discussion options

You must be logged in to vote

I can imagine this getting "fixed" in the medium term, but I think a better terminology / mental model for this component is a "Numeric Stepper"; you should think about the increment/decrement interaction as intrinsic to its design.

And if the user wants to click buttons/keyboard/mouse interactions, then i think it could go, 12.55 -> 12.6 -> 12.7 etc.

This sounds like it could be confusing for some people as well, so I'm not sure about implementing this behavior.

Is there anything preventing you from modifying minorStepSize to get the behavior you want?

Replies: 6 comments

Comment options

ayuan37
Apr 28, 2020
Collaborator Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

ayuan37
Apr 29, 2020
Collaborator Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

ayuan37
May 1, 2020
Collaborator Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by adidahiya
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #4096 on January 24, 2023 15:10.