NumberField - Can't enter decimal values with maximumSignificantFigures set.
๐ Bug Report
Using formatOptions, set maximumSignificantDigits to 4 for example.
๐ค Expected Behavior
The user should be allowed to enter decimal values.
๐ฏ Current Behavior
The user is not allowed to enter decimal values.
๐ Possible Solution
๐ฆ Context
๐ป Code Sample
https://codesandbox.io/s/festive-taussig-uwv3t?file=/src/App.tsx
๐ Your Environment
๐งข Your Company/Team
๐ท Tracking Issue (optional)
That looks like a bug. And it looks like we significant digits in our tests https://github.com/adobe/react-spectrum/blob/main/packages/%40react-spectrum/numberfield/test/NumberField.test.js I think it's probably addressed in https://github.com/adobe/react-spectrum/pull/2075 which I'd like to get in, but it needs a little more work before it can go in https://github.com/adobe/react-spectrum/pull/2075#discussion_r668350262
Perhaps we can pull some stuff out of #2075 to expedite a fix for this issue.
Fixed by https://github.com/adobe/react-spectrum/pull/5156