{% block stylesheet %}
....
{% if form is defined %}
{{ form_stylesheet(form) }}
{% endif %}
{% endblock %}
...
{% block scripts %}
...
{% if form is defined %}
{{ form_javascript(form) }}
{% endif %}
{% endblock %}
if i go directly to the ajaxcommande route in my browser, i can see very entry listed correctly until i use the anootation type.
if i comment the type:annotation the site loads although the autocompleter doesn't work.
Any idea what could be the problem ?
If the autocompleter needs the type : annotation then the error comes from the fact that i can't use them for now.
If not then it doesn't work as is and i don't know why...
Hello everyone,
i'm trying to implement an autocompleting field in a symfony form 2 using the genemu bundle.
i'm trying to follow the instructions given in the documentation and on this issue : http://stackoverflow.com/questions/26518405/symfony2-autocomplete-form-bundle
But as soon as i try to add the type : annotation line, i get a 500 error and i can't figure out why.
here's routing.yml
the controller :
and layout.html.twig
if i go directly to the ajaxcommande route in my browser, i can see very entry listed correctly until i use the anootation type.
if i comment the type:annotation the site loads although the autocompleter doesn't work.
Any idea what could be the problem ? If the autocompleter needs the type : annotation then the error comes from the fact that i can't use them for now. If not then it doesn't work as is and i don't know why...
Thanks in advance,
Raug