You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe in detail the issue you're having.
When using the NumberInput component, if I use a number as the "step" prop (eg. ) everything works just fine. However, in order to use a decimal NumberInput, I had to pass "step" prop a decimal value. Passing in a number (step={0.2}) I get a console error about value.split not being a function, while passing in a string (step="0.1") works fine but gives me a console warning about wrong typings (expecting a number but getting a string instead).
Is this issue related to a specific component?
NumberInput
What did you expect to happen? What happened instead? What would you like to see changed?
Enrich type definition by covering both "number" and "string"?
No warning shown.
What version of the WFP UI (Carbon Design System) are you using?
@wfp/ui@1.20.10
The text was updated successfully, but these errors were encountered:
Detailed description
The text was updated successfully, but these errors were encountered: