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 b3ef249 commit 21d85eaCopy full SHA for 21d85ea
components/form/FormItem.tsx
@@ -327,7 +327,7 @@ export default defineComponent({
327
const value = fieldValue.value;
328
const prop = getPropByPath(model, namePath.value, true);
329
if (Array.isArray(value)) {
330
- prop.o[prop.k] = [].concat(initialValue.value);
+ prop.o[prop.k] = [].concat(initialValue.value ?? []);
331
} else {
332
prop.o[prop.k] = initialValue.value;
333
}
0 commit comments