Skip to content

Commit

Permalink
refactor: update input name format
Browse files Browse the repository at this point in the history
  • Loading branch information
ccailly committed May 6, 2024
1 parent 99e6443 commit 10a5883
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Form/QuestionType/AbstractQuestionTypeSelectable.php
Expand Up @@ -231,7 +231,7 @@ public function renderEndUserTemplate(
<label class="form-check">
<input
type="{{ input_type }}"
name="answers[{{ question.fields.id }}][]"
name="{{ question.getEndUserInputName() }}"
value="{{ value.value|e('html_attr') }}"
class="form-check-input" {{ value.checked ? 'checked' : '' }}
>
Expand Down

0 comments on commit 10a5883

Please sign in to comment.