PUGX / PUGXAutoCompleterBundle

Add an autocomplete field to your Symfony forms
GNU Lesser General Public License v3.0
93 stars 38 forks source link

Support for different entity managers #13

Closed sound-code closed 9 years ago

sound-code commented 9 years ago

Hi Massi, at the moment the autocompleter supports only the default entity manager which manages only its enitities. Adding support for multiple managers should be straightforward something like this:

https://gist.github.com/sound-code/f1fad6dbce7c05abcd79#file-autocompletetype-php-L30 https://gist.github.com/sound-code/9bcd6077d93cba88f235#file-services-xml-L13

thank you very much

Gianpiero