-
Notifications
You must be signed in to change notification settings - Fork 375
Description
Describe the problem
A clear and concise description of the problem. Which components are affected?
User cannot type negative values into the number input component. At the moment the "$" example of "With Unit" is the only number input that supports typing negative values - this example works consistently among the staging website and the live docs.
Staging:
https://patternfly-react-main.surge.sh/components/number-input/
Current:
https://www.patternfly.org/v4/components/number-input
How do you reproduce the problem?
Provide steps to reproduce. A codesandbox demonstrating the problem is appreciated.
- Go to the staging website
- Type a negative value into default, it should work.
- Update any of the other number input demos with any value.
- Try to type another negative value into default; it no longer supports typing a
-. - Go to the current pf4 docs website
- Try typing a negative value into default, it does not work.
Expected behavior
A clear and concise description of the expected behavior.
Typing negative values should be supported. Currently it is only possible to have negative numbers by clicking the - button on the left of the input field.
cc @tlabaj
Metadata
Metadata
Assignees
Labels
Type
Projects
Status