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 d2dabaa commit 6295920Copy full SHA for 6295920
dev/pages/data/Edit.vue
@@ -93,7 +93,8 @@ const schema = reactive(
93
const data = ref({ date: new Date(), text: 'Lorem Ipsum' })
94
95
const { showSuccessMessage } = useMessages()
96
-async function submitHandler() {
+async function submitHandler(data: any) {
97
+ console.log(data?.email)
98
showSuccessMessage('Form Submitted ...', 'Form submitted successfully')
99
}
100
</script>
src/components/FormKitDataEdit.vue
@@ -84,7 +84,7 @@ if (props.data) {
84
const formSchema = ref(props.schema)
85
86
function handleSave() {
87
- emit('dataSaved', formSchema.value)
+ emit('dataSaved', formData.value)
88
89
90
function handleReset() {
0 commit comments