We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba694b1 commit d1dcc33Copy full SHA for d1dcc33
src/components/form-inputs/form/index.ts
@@ -12,8 +12,8 @@ export class Form extends _FormBase {
12
onSuccess: function () {
13
self.$emit('success')
14
},
15
- onError: function () {
16
- self.$emit('error')
+ onFailure: function (formErrors, fields) {
+ self.$emit('error', formErrors, fields)
17
}
18
};
19
0 commit comments