Update FormDoc.vue

pull/6632/head
tugcekucukoglu 2024-10-21 15:37:41 +03:00
parent b2626114e1
commit 2f92dbfa99
1 changed files with 1 additions and 3 deletions

View File

@ -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 });
} }