Commit 81110da
Fix enum default not pre-selected when
The dropdown matches `selectedItem` by `id`, but `shouldSetDefault` was
storing `field.default` (the name) when matching by `name`, causing a
mismatch.
Signed-off-by: Mihaela Balutoiu <mbalutoiu@cloudbasesolutions.com>name differs from id
1 parent 98c35d6 commit 81110da
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
131 | 133 | | |
132 | 134 | | |
133 | 135 | | |
| |||
0 commit comments