Skip to content

Commit

Permalink
Merge pull request #228 from ia3andy/fix-qs-form-elements
Browse files Browse the repository at this point in the history
Use only form elements with the name attribute defined
  • Loading branch information
yrodiere authored Apr 8, 2024
2 parents 8151de1 + 1d2700e commit 988b6bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/web/app/qs-form.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export class QsForm extends LitElement {
}

private _getFormElements(): NodeListOf<HTMLFormElement> {
return this.querySelectorAll('input, select');
return this.querySelectorAll('input[name], select[name]');
}

private _readQueryInputs() {
Expand Down

0 comments on commit 988b6bc

Please sign in to comment.