Open eriktelepovsky opened 2 years ago
Describe the bug Not possible to add another filter field in the popup.
To Reproduce Steps to reproduce the behavior:
Expected behavior No error in the console and new field added.
Screenshots
Details (please complete the following information):
Additional context JavaScript Console:
Possible fix It works when I comment line 142 in advanced-filters.js:
advanced-filters.js
$('.form-row input.query-value').each(function() { // $(this).select2("destroy"); });
That's odd, haven't touched this code for a while... are you configuring your own version of select2 library in settings.SELECT2_JS? If so, could you check which version you're using?
settings.SELECT2_JS
Describe the bug Not possible to add another filter field in the popup.
To Reproduce Steps to reproduce the behavior:
Expected behavior No error in the console and new field added.
Screenshots
Details (please complete the following information):
Additional context JavaScript Console:
Possible fix It works when I comment line 142 in
advanced-filters.js
: