Don't submit empty params with the filter

They result in garbled URLs
This commit is contained in:
Jorge Manrubia
2025-09-19 15:15:23 +02:00
parent d13dd58a78
commit f77aef968b
8 changed files with 23 additions and 17 deletions
@@ -47,6 +47,7 @@ export default class extends Controller {
item.setAttribute(this.selectPropertyNameValue, "true")
this.labelTarget.textContent = this.#selectedLabel
this.hiddenField.value = item.dataset.comboboxValue
this.hiddenField.disabled = !item.dataset.comboboxValue
this.#updateWithDefaultClass()
}