We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 622c972 commit e4213afCopy full SHA for e4213af
examples/core/src/components/product/bundles/ProductComponent.tsx
@@ -126,7 +126,7 @@ function CheckboxComponentOption({
126
control={form.control}
127
name={`selectedOptions.${componentKey}`}
128
render={({ field }) => {
129
- const checked = isChecked(field.value, option.id!);
+ const checked = isChecked(field.value || [], option.id!);
130
return (
131
<FormItem
132
key={`selectedOptions.${componentKey}`}
0 commit comments