Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Autocomplete with Symfony2

I've an input text field and with a simple AJAX, my user insert 2 or 3 letters and get the occurence from my entity. How to add an entity in a input text field as an autocomplete with Symfony2 ? Thanks for your help.

like image 529
Nizar B. Avatar asked Feb 24 '26 14:02

Nizar B.


1 Answers

You can try GenemuFormBundle which has an interface to jQuery UI autocomplete. You can have a look at documentation here: https://github.com/genemu/GenemuFormBundle/blob/master/Resources/doc/jquery/autocomplete/index.md

like image 169
Stefano Sala Avatar answered Feb 26 '26 22:02

Stefano Sala