How can be implemented HTML5 datalist with values from the database (Doctrine)?
Purpose: replace selects with many options to inputs with autocompletion.
In your formType :
->add('commerciaux', TextType::class, [ 'label' => 'Apporteur d\'affaire*', 'attr' => [ 'placeholder' => 'Apporteur d\'affaire', 'list' => 'bieres' ] ] )
In your View :
{{ form_row(formulaire.commerciaux) }}