design-system
design-system copied to clipboard
NumberInput: does not handle scientific numbers
Bug report
When a decimal with a lot of decimals is used in the NumberInput
, it renders the internal JS Number
representation instead of a well formatted string.
Example: 00000000001
-> 1e-10
The latter can not be edited.
Required System information
- Strapi Design System version: 1.2.1
Additional context
- Refs https://github.com/strapi/strapi/pull/13993