-
Notifications
You must be signed in to change notification settings - Fork 179
Open
Description
My form :
$builder->add('grade', \Symfony\Component\Form\Extension\Core\Type\ChoiceType::class, [
'choices' => ['1' => 1, '2' => 2, '3' => 3, '4' => 5, '5' => 6],
'required' => false,
'label' => 'app.label',
]);
My twig :
{{ form_start(formTest) }}
{{ form_widget(formTest.grade) }}
{{ form_end(formTest) }}
Result :
Instead of
But I don't understand because it's work with that: Yoopies@987e91d, even if choice_widget_options block is under {% spaceless %}
Metadata
Metadata
Assignees
Labels
No labels

