From 27c2563e2cd8b5d021b54f3f253fc838c98c4e59 Mon Sep 17 00:00:00 2001 From: Katie Date: Tue, 20 Sep 2022 14:29:11 -0400 Subject: [PATCH] CSR-762 Add back onSubmit function --- src/mixins/base-mixin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mixins/base-mixin.js b/src/mixins/base-mixin.js index be4a6867e..c6c8a89b7 100644 --- a/src/mixins/base-mixin.js +++ b/src/mixins/base-mixin.js @@ -32,7 +32,7 @@ export default { savePageDataToStore(page, data) { store.commit(storeMutations.UPDATE_PAGE_DATA, { page: page, data: data }); }, - // onSubmit() { }, // DO NOT REMOVE; needed to prevent default form submit behavior + onSubmit() { }, // DO NOT REMOVE; needed to prevent default form submit behavior. Cannot use .prevent modifier for vee-validate Form onInvalidSubmit({ values, errors, results }) { // identify the first error field and put focus on it // get error names array