i am trying to use the symfony form builder to make a form which has 3 fields, name, country and language - i want the form elements to have an id and a name but it creates 2 each time
in the LanguageType
'id' => 'country_code2',
'name' => 'country_code'
in twig:
{{ form_widget(form.country_code, {'id': 'country_Code', 'name': 'country_Code'}) }}
is there a way to stop the symfony generated auto id/name
is there any documentation about this 'feature'?