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 3274896 commit 272430bCopy full SHA for 272430b
components/vc-select/utils/legacyUtil.ts
@@ -14,7 +14,7 @@ function convertNodeToOption<OptionType extends BaseOptionType = DefaultOptionTy
14
children: { default?: () => any };
15
key: string | number;
16
};
17
- const child = children.default;
+ const child = children?.default;
18
return {
19
key,
20
value: value !== undefined ? value : key,
0 commit comments