fixed "military" checkbox not saving state during application

This commit is contained in:
2025-12-15 12:37:02 -05:00
parent 82c9681dfa
commit 4670b568a5

View File

@@ -174,7 +174,7 @@ watch(() => showCoC.value, async () => {
<FormLabel>Have you ever served in the military?</FormLabel> <FormLabel>Have you ever served in the military?</FormLabel>
<FormControl> <FormControl>
<div class="flex items-center gap-2"> <div class="flex items-center gap-2">
<Checkbox :checked="value ?? false" @update:checked="handleChange" :disabled="readOnly" /> <Checkbox :model-value="value" @update:model-value="handleChange" :disabled="readOnly" />
<span>Yes (checked) / No (unchecked)</span> <span>Yes (checked) / No (unchecked)</span>
</div> </div>
</FormControl> </FormControl>