Closed butcherZ closed 1 month ago
Latest commit: f758abc73f6ea51da462cf70072666eada1b84fe
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
design-system | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 9, 2024 3:53pm |
What does it do?
increment
anddecrement
functions used inNumberInput
componentonValueChange
function inNumberInput
story, as it's required for displaying input valueWhy is it needed?
Because javascript
0.1
+0.2
=0.30000000000000004
How to test it?
step
ofNumberInput
to0.1
0.1
two times, you should get0.3
instead of0.30000000000000004
Related issue(s)/PR(s)
1369
#18138 DX-1674