Skip to content

Commit

Permalink
fix(pat autosubmit): Fix a typo where pat-autosubmit wasn't working f…
Browse files Browse the repository at this point in the history
…or subforms anymore.
  • Loading branch information
thet committed Nov 8, 2023
1 parent 36c0c36 commit 3be0170
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pat/auto-submit/auto-submit.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export default Base.extend({

// get all subforms whice are not yet auto submit forms.
const subforms = el.querySelectorAll(
".pat-autosubmit:not(.pat-autosubmit):not(.pat-auto-submit)"
".pat-subform:not(.pat-autosubmit):not(.pat-auto-submit)"
);
for (const subform of subforms) {
// register autosubmit on subform
Expand Down

0 comments on commit 3be0170

Please sign in to comment.