mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-26 18:00:43 +01:00
chore(Checkbox/Switch): change model binding (#58)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user