V
V
voronkovich2015-02-28 02:14:39
symfony
voronkovich, 2015-02-28 02:14:39

Is there a way when building a form through the FormBuilder to specify which widget will be used to render the field?

The date type has a setting 'widget'=> 'simple_text', but there is nothing like that for choice.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex, 2015-02-28
@shoomyst

What widget do you need? As far as I remember, choice can be either a select or a group of radio buttons.
You need to look somewhere in the direction of the multiple and expanded options

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question