Skip to content

Commit 3be0170

Browse files
committed
fix(pat autosubmit): Fix a typo where pat-autosubmit wasn't working for subforms anymore.
1 parent 36c0c36 commit 3be0170

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pat/auto-submit/auto-submit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export default Base.extend({
6666

6767
// get all subforms whice are not yet auto submit forms.
6868
const subforms = el.querySelectorAll(
69-
".pat-autosubmit:not(.pat-autosubmit):not(.pat-auto-submit)"
69+
".pat-subform:not(.pat-autosubmit):not(.pat-auto-submit)"
7070
);
7171
for (const subform of subforms) {
7272
// register autosubmit on subform

0 commit comments

Comments
 (0)