Commit 3646d8a
fix: NumberInput react controlled vs uncontrolled handling (#22139)
* fix: number input react controlled vs uncontrolled handling
* refactor: move tests to respective controlled and uncontrolled blocks
* chore: add todo for re-organizing stories for better clarity
* fix: ai-label story
---------
Co-authored-by: Heloise Lui <71858203+heloiselui@users.noreply.github.com>1 parent fe9a329 commit 3646d8a
3 files changed
Lines changed: 1986 additions & 1586 deletions
File tree
- packages/react/src/components/NumberInput
- __tests__
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| |||
127 | 128 | | |
128 | 129 | | |
129 | 130 | | |
130 | | - | |
| 131 | + | |
131 | 132 | | |
132 | 133 | | |
133 | 134 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
749 | 749 | | |
750 | 750 | | |
751 | 751 | | |
752 | | - | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
753 | 757 | | |
754 | 758 | | |
755 | 759 | | |
| |||
833 | 837 | | |
834 | 838 | | |
835 | 839 | | |
836 | | - | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
837 | 844 | | |
838 | 845 | | |
839 | 846 | | |
| |||
0 commit comments