- Issue created by @prudloff
- Merge request !6Issue #3446512: drupalSettings are never removed after AJAX request β (Open) created by prudloff
- last update
8 months ago 1 pass - Status changed to Needs review
8 months ago 1:19pm 10 May 2024 - last update
7 months ago 1 pass - πΊπΈUnited States mariacha1
For me, this throws errors if you have multiple ajax calls on the page. I'm providing an alternative that only clears out facets once they're sent to the autocomplete function, so that you don't get errors about
autocomplete_settings[data_id]
being empty. - last update
7 months ago 1 pass - πΊπΈUnited States mariacha1
It turned out our code was depending on the "default_value" of each facet to display a "clear" button and apply a class, so here's a version of the last patch that preserves that value per-facet, along with an interdiff between comment 4&5.