Skip to content

Commit 2501543

Browse files
author
Charlie
committed
use infinite radio and checkox forms
1 parent a202fe6 commit 2501543

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Form/Type/ChoiceTreeType.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,12 +133,12 @@ private function addSubForms(FormBuilderInterface $builder, array $choiceViews,
133133
];
134134

135135
if ($options['multiple']) {
136-
$choiceType = 'checkbox_level';
136+
$choiceType = 'infinite_form_checkbox_level';
137137
// The user can check 0 or more checkboxes. If required
138138
// is true, he is required to check all of them.
139139
$choiceOpts['required'] = false;
140140
} else {
141-
$choiceType = 'radio_level';
141+
$choiceType = 'infinite_form_radio_level';
142142
}
143143
$builder->add($i, $choiceType, $choiceOpts);
144144
}

0 commit comments

Comments
 (0)