I am tryingto embed a collection of forms in my top form.
These embedded forms contain a _genemu_jqueryautocompletetext and a _genemu_jqueryselect2entity inside them.
I managed to make select2 form work correctly, with minor adjustements with respect to how explained in the "tips" doc.
However, as far as autocomple is concerned I continue to get errors.
If I try:
{{ form_javascript(form.%mysubform%.vars.prototype.%mysubformfield%, true) }}
I get:
An exception has been thrown during the rendering of a template ("Unable to render the form as none of the following blocks exist: "_MyFormType_%mysubform%_entry_%mysubformfield%_javascript_prototype", "genemu_jqueryautocomplete_text_javascript_prototype", "genemu_jqueryautocomplete_javascript_prototype", "text_javascript_prototype", "form_javascript_prototype".")
If on the contrary I write:
{{ form_javascript(form.%mysubform%.vars.prototype, true) }}
Results in:
An exception has been thrown during the rendering of a template ("Unable to render the form as none of the following blocks exist: "_MyFormType_%mysubform%_entry_javascript_prototype", "MySubformType_javascript_prototype", "form_javascript_prototype".")
In docs it is written to post an issue in such a case, so here I am....
Am I doing something wrong, or is autocomplete not supported yet?
I am tryingto embed a collection of forms in my top form. These embedded forms contain a _genemu_jqueryautocompletetext and a _genemu_jqueryselect2entity inside them.
I managed to make select2 form work correctly, with minor adjustements with respect to how explained in the "tips" doc. However, as far as autocomple is concerned I continue to get errors.
If I try:
{{ form_javascript(form.%mysubform%.vars.prototype.%mysubformfield%, true) }}
I get:An exception has been thrown during the rendering of a template ("Unable to render the form as none of the following blocks exist: "_MyFormType_%mysubform%_entry_%mysubformfield%_javascript_prototype", "genemu_jqueryautocomplete_text_javascript_prototype", "genemu_jqueryautocomplete_javascript_prototype", "text_javascript_prototype", "form_javascript_prototype".")
If on the contrary I write:
{{ form_javascript(form.%mysubform%.vars.prototype, true) }}
Results in:An exception has been thrown during the rendering of a template ("Unable to render the form as none of the following blocks exist: "_MyFormType_%mysubform%_entry_javascript_prototype", "MySubformType_javascript_prototype", "form_javascript_prototype".")
In docs it is written to post an issue in such a case, so here I am.... Am I doing something wrong, or is autocomplete not supported yet?
Thank you