design-system icon indicating copy to clipboard operation
design-system copied to clipboard

NumberInput: does not handle scientific numbers

Open gu-stav opened this issue 1 year ago • 0 comments

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

gu-stav avatar Aug 05 '22 10:08 gu-stav