Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Formulate.js
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ class Formulate {
*/
submit (formName) {
const form = this.registry.get(formName)
form.formSubmitted()
return form.formSubmitted()
}

/**
Expand Down
4 changes: 4 additions & 0 deletions src/FormulateForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,10 @@ export default {
this.errorComponents.push(component)
}
},
getFormValues() {
//return promise of Form values
return new FormSubmission(this).values();
},
formSubmitted () {
if (this.isLoading) {
return undefined
Expand Down