Skip to content

Commit fb1f666

Browse files
Add hx-disabled-elt to filters
This prevents users from queueing multiple requests while filtering, which can end up replacing the filters in-place, clobbering the user's choices.
1 parent 75ee3c7 commit fb1f666

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mavis/reporting/templates/components/filters.jinja

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
hx-select="#dashboard"
1616
hx-select-oob="#filters-form:outerHTML"
1717
hx-swap="outerHTML"
18+
hx-disabled-elt="#filters-form input"
1819
hx-replace-url="true">
1920
{% call fieldset({
2021
"legend": {

0 commit comments

Comments
 (0)