refactor(Form)!: drop explicit support for zod and valibot (#3618)

This commit is contained in:
Romain Hamel
2025-03-19 11:56:32 +01:00
committed by GitHub
parent 63b5f2bc2f
commit ee373629d5
7 changed files with 13 additions and 107 deletions

View File

@@ -21,7 +21,7 @@ async function onSubmit(event: FormSubmitEvent<Schema>) {
</script>
<template>
<UForm :schema="v.safeParser(schema)" :state="state" class="space-y-4" @submit="onSubmit">
<UForm :schema="schema" :state="state" class="space-y-4" @submit="onSubmit">
<UFormGroup label="Email" name="email">
<UInput v-model="state.email" />
</UFormGroup>