I have a model as described below:
I also have a form for creating a new product with an entity
field creating a drop-down list containing all brands.
Now I want to add the value โOtherโ to this list to allow the user to manually specify the brand in another text box.
The question is: is there a clean way to manage this case (for example, adding to the list a value of "Other", which is not an entity and obtaining validation of the form for work) from Symfony2 Form?
source share