Fix: When expanding filters, submitting filters should keep the filters expanded

This commit is contained in:
Jorge Manrubia
2025-09-12 18:01:25 +02:00
parent 774ff99f29
commit b7b705ba19
9 changed files with 21 additions and 24 deletions
@@ -0,0 +1,11 @@
import { Controller } from "@hotwired/stimulus"
export default class extends Controller {
static targets = [ "element" ]
toggle() {
this.elementTargets.forEach((element) => {
element.toggleAttribute("disabled")
})
}
}