Don't submit empty params with the filter
They result in garbled URLs
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user