| @@ -130,18 +130,14 @@ | ||
| 130 | 130 | }); |
| 131 | 131 | }); |
| 132 | 132 | return fields; |
| 133 | 133 | } |
| 134 | -function getGroupedFieldId(name, inputs, checkedInputs) { | |
| 135 | - const primaryInput = checkedInputs[0] ?? inputs[0]; | |
| 136 | - return primaryInput?.dataset.interactionId ?? name; | |
| 137 | -} | |
| 138 | 134 | function getGroupedFields(name, inputs, type, form) { |
| 139 | 135 | const checkedInputs = inputs.filter(input => input.checked); |
| 140 | 136 | const value = getAtomicFormFieldValue(checkedInputs, type); |
| 141 | 137 | const options = getAtomicFieldOptions(inputs, type, form); |
| 142 | 138 | return { |
| 143 | - id: getGroupedFieldId(name, inputs, checkedInputs), | |
| 139 | + id: name, | |
| 144 | 140 | type, |
| 145 | 141 | label: name, |
| 146 | 142 | value, |
| 147 | 143 | name, |