Commit c1a69ba
authored
fix(formbuilder): skip "add a condition" for 9 unhandled question types DEV-1283 DEV-1284 (#6468)
### 📣 Summary
In formbuilder, hide the not working "add a condition" button for 9
affect question types - Select One, Select Many, Point, Photo, Audio,
Video, Line, Area, Acknowledge.
### 💭 Notes
Regression since #5982 - redefining that constructor was important. But
because redefining constructors should be impossible in the first place,
fixed the problem in another way.
The button should work and not be hidden for Select One and Select Many
question types but fixing that is out of scope of this PR.
### 👀 Preview steps
1. create a new form or edit existing one
2. go to "settings" for affect question type
1. 1 parent 284c224 commit c1a69ba
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
51 | 55 | | |
52 | 56 | | |
53 | 57 | | |
| |||
0 commit comments