Extra Form : Captcha GD, Tinymce, Recaptcha, JQueryDate, JQueryAutocomplete, JQuerySlider, JQueryFile, JQueryImage
587
stars
265
forks
source link
genemu_jqueryautocompleter_entity with AJAX route_name setting JSON as value #403
Open
webdevilopers opened 8 years ago
I use
genemu_jqueryautocompleter_entity
inside the LexikFormFilterBundle:My AJAX Controller according to the route:
As suggested in:
A different JSON structure is mentioned here but does not work at all for the autocompleter: http://stackoverflow.com/questions/22143219/want-to-use-genemu-formbundle-autocomplete-with-querybuilder
Generated Javascript:
When I select an entity my hidden input gets populated with the JSON array:
Shouldn't the javasript function populate the hidden input with the ID by default?
Possibly related: