Skip to content

Commit

Permalink
fix(dropdown-select): escape name of hidden input in dropdown-select …
Browse files Browse the repository at this point in the history
…to support square brackets (#2267)
  • Loading branch information
dario-i22 authored Feb 2, 2024
1 parent 1073fd2 commit 97b1297
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ export class DropdownSelect {

updateInputHidden(value: string = this.value): void {
this.hostElement.querySelector<HTMLInputElement>(
`input[name=${this.name}]`
`input[name="${this.name}"]`
).value = value;
}

Expand Down

0 comments on commit 97b1297

Please sign in to comment.