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 sent
Hi. 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.