Forwards Fields
wail-asad opened this issue · 1 comments
wail-asad commented
- Package version:3.8.2
- Django version:3.2.5
- Python version:3.7.6
Description:
The forwards fields doesn't send with Ajax request at some templates.
After a lot of time I discover the issue. The issue in the autocomplete_light.js in yl.getForwards.
This issue appear if the fields outside HTML form tag.
May you please update the line form = element.length > 0 ? $(element[0].form) : $();
to make check if element[0].form != null
to make a warning to user or raising an error.
jpic commented
Interesting, can you open a pull request with the fix that works for you for discussion and merge?