Home › Forums › Calendar Products › Filter Bar › Select2 JS error with city multi-select filter
- This topic has 3 replies, 2 voices, and was last updated 6 years, 4 months ago by netzstrategen.
-
AuthorPosts
-
November 16, 2017 at 4:55 am #1384441netzstrategenParticipant
Summary
– Using ‘Event Category’ and ‘City’ fields in Filter Bar
– When using ‘multi-select’ and ‘dropdown’, respectively, everything works ok
– When setting the City field to be ‘multi-select’, however, a JavaScript error is triggered
– City list still loads when typing first character although no AJAX request is sentHi. We have an issue using the ‘multi-select’ option with the City filter in the Filter Bar plugin. As detailed above, everything works fine with the standard ‘dropdown’ field but when we switch the City to be ‘multi-select’, we get a Select2 JavaScript error (see screenshot).
When clicking on the text box to enter a city, the spinner appears and the JavaScript error fires. Interestingly, the city search still works if you then continue to type a character and select a city. You can click a city and it will be added to the list although no AJAX request is sent and no filtering occurs on the front-end.
As an additional note; we have over 1,000 events in the system (most with venues) but when I navigate to Events > Venues, there are none listed even though the count can clearly be seen (see screenshot).
Thanks for your help.
- This topic was modified 6 years, 5 months ago by netzstrategen.
November 17, 2017 at 12:27 pm #1385964AndrasKeymasterHello Dominik,
Thanks for reaching out to us.
We are aware of this issue and have already shipped a fix for this with our maintenance release yesterday.
I see that you have some older versions of our plugins. Please update them – after a full site and database backup – and check if you are still having the issue.
Cheers,
AndrasDecember 9, 2017 at 8:35 am #1402008Support DroidKeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Select2 JS error with city multi-select filter’ is closed to new replies.