Update FormDoc.vue
parent
b2626114e1
commit
2f92dbfa99
|
@ -86,9 +86,7 @@ const value = ref(null);
|
||||||
this.resolver = zodResolver(this.schema);
|
this.resolver = zodResolver(this.schema);
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
onFormSubmit({ valid, values, states }) {
|
onFormSubmit({ valid }) {
|
||||||
console.log(values, states);
|
|
||||||
|
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.$toast.add({ severity: 'success', summary: 'Form is submitted.', life: 3000 });
|
this.$toast.add({ severity: 'success', summary: 'Form is submitted.', life: 3000 });
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue