chore(Checkbox/Switch): change model binding (#58)

Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
Romain Hamel
2024-04-15 13:37:18 +02:00
committed by GitHub
parent 2fe91f3847
commit 84847965af
15 changed files with 903 additions and 565 deletions

View File

@@ -67,7 +67,7 @@ function onSubmit(event: FormSubmitEvent<Schema>) {
</UFormField>
<UFormField name="switch">
<USwitch v-model:checked="state.switch" />
<USwitch v-model="state.switch" />
</UFormField>
<div class="flex gap-2">