diff --git a/platform/ui/src/components/Select/Select.tsx b/platform/ui/src/components/Select/Select.tsx index 474edc23e..6635798b9 100644 --- a/platform/ui/src/components/Select/Select.tsx +++ b/platform/ui/src/components/Select/Select.tsx @@ -101,6 +101,9 @@ const Select = ({ }} value={value && Array.isArray(value) ? selectedOptions : value} onChange={(selectedOptions, { action }) => { + if (selectedOptions === null) { + return onChange(null, action); + } const newSelection = !selectedOptions.length ? selectedOptions : selectedOptions.reduce((acc, curr) => acc.concat([curr.value]), []);