diff --git a/packages/conform-react/hooks.ts b/packages/conform-react/hooks.ts index 50773bc2..0257dc52 100644 --- a/packages/conform-react/hooks.ts +++ b/packages/conform-react/hooks.ts @@ -178,7 +178,8 @@ export function useForm< 'checked' in element && (element.type === 'checkbox' || element.type === 'radio') ) { - element.checked = get(defaultValue) === element.value; + element.checked = + getAll(defaultValue)?.includes(element.value) ?? false; } else { element.value = get(defaultValue) ?? ''; }