Commit a34bb9d
authored
fix(formbuilder): validation criteria for Select question types DEV-1283 (#6469)
### 📣 Summary
Fix UI for the validation criteria of question types Select One and
Select Many.
### 💭 Notes
It looks like a 10+ year old bug. But that can't be right, right?
### 👀 Preview steps
1. ℹ️ in formbuilder for question type Select One, go to "settings" and
then "validation criteria"
2. click "add a condition"
3. 🔴 [on main] UI starts to misbehave, error in console
4. 🟢 [on PR] it works1 parent c1a69ba commit a34bb9d
File tree
2 files changed
+7
-9
lines changed- jsapp/xlform/src
2 files changed
+7
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
| 67 | + | |
| 68 | + | |
71 | 69 | | |
72 | 70 | | |
73 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
| 323 | + | |
323 | 324 | | |
324 | 325 | | |
325 | 326 | | |
| |||
341 | 342 | | |
342 | 343 | | |
343 | 344 | | |
344 | | - | |
| 345 | + | |
345 | 346 | | |
346 | 347 | | |
347 | 348 | | |
348 | 349 | | |
349 | 350 | | |
350 | 351 | | |
351 | 352 | | |
352 | | - | |
353 | 353 | | |
354 | 354 | | |
355 | 355 | | |
| |||
0 commit comments