Category : drop-down-menu

I am rendering a form inside a twig file. I just want to add a default/selected option to the select field and I need to do it inside the twig rather than controller, entity, or the formType. Here is the code in my twig file: {{ form_start(prdForm) }} <div class=”form-group”> {{ form_row(prdForm.productTitle, {‘label’: “Product Title”, ..

Read more