Skip to content

Commit 8ff1aeb

Browse files
committed
Fix
1 parent 9aa15ec commit 8ff1aeb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/cells/src/cells/multi-select-cell.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,10 +418,10 @@ const Editor: ReturnType<ProvideEditorCallback<MultiSelectCell>> = p => {
418418
},
419419
}}
420420
onChange={async e => {
421-
if (e === null) {
421+
if (e === null || !Array.isArray(e)) {
422422
return;
423423
}
424-
submitValues(e.map(x => x.value));
424+
submitValues(e.map((x: SelectOption) => x.value));
425425
}}
426426
/>
427427
</Wrap>

0 commit comments

Comments
 (0)