Symfony 7 – Autocomplete form field
I have some data in a database containing a list of persons with the fields id
, first_name
, last_name
, date_of_birth
. I want to create a field in a form that provides provide autocompletion when the user starts to enter some text. It should suggest a list of people from the database in the following format first_name
last_name
with the ability to select one. I want something similar to this https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_autocomplete except with people that I would get from the database.
Symfony 7 – Autocomplete form field
I have some data in a database containing a list of persons with the fields id
, first_name
, last_name
, date_of_birth
. I want to create a field in a form that provides provide autocompletion when the user starts to enter some text. It should suggest a list of people from the database in the following format first_name
last_name
with the ability to select one. I want something similar to this https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_autocomplete except with people that I would get from the database.
Symfony 7 – Autocomplete form field
I have some data in a database containing a list of persons with the fields id
, first_name
, last_name
, date_of_birth
. I want to create a field in a form that provides provide autocompletion when the user starts to enter some text. It should suggest a list of people from the database in the following format first_name
last_name
with the ability to select one. I want something similar to this https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_autocomplete except with people that I would get from the database.