Commit a305641
fix: stable ids for SelectionGroup date fields
HDS SelectionGroup unwraps a single wrapper child and renders the
grandchildren in a list keyed by `child.props.id`. The two date-field
Controllers had no id, producing undefined keys and a "unique key prop"
warning under React 19's stricter dev validation (the @axe-core/react
createElement wrapper surfaced it in the stack). Give each Controller a
stable id so HDS has a real key.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent e3e6bb0 commit a305641
1 file changed
Lines changed: 4 additions & 0 deletions
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
| 40 | + | |
38 | 41 | | |
39 | 42 | | |
40 | 43 | | |
| |||
75 | 78 | | |
76 | 79 | | |
77 | 80 | | |
| 81 | + | |
78 | 82 | | |
79 | 83 | | |
80 | 84 | | |
| |||
0 commit comments