Fixed small bug with checkbox not having initial value

This commit is contained in:
lucast committed 2026-03-07 19:49:45 +01:00
1 parent b48db8bb37
commit 6c1dda9622
1 file changed
+1
+1
View File
@@ -129,6 +129,7 @@ watch(
<Checkbox <Checkbox
v-else-if="field.type == 'checkbox'" v-else-if="field.type == 'checkbox'"
:label="field.label || field.key" :label="field.label || field.key"
:model-value="localItem[field.key]"
@change="(v) => (localItem[field.key] = v)" @change="(v) => (localItem[field.key] = v)"
/> />
<Input <Input