Answer the question
In order to leave comments, you need to log in
How to change field type in Symfony child form?
I have a form that extends another form and I need to take a field from the parent form and change its type. What needs to be supplied as arguments to the setType method, the code is given below$builder->get('locationSelector')->setType();
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question