diff --git a/frontend/src/Editor/Components/Table/CustomSelect.jsx b/frontend/src/Editor/Components/Table/CustomSelect.jsx index 865c9f2e64..851c3f0ab2 100644 --- a/frontend/src/Editor/Components/Table/CustomSelect.jsx +++ b/frontend/src/Editor/Components/Table/CustomSelect.jsx @@ -7,7 +7,9 @@ export const CustomSelect = ({ options, value, multiple, onChange, darkMode }) = function renderValue(valueProps) { if (valueProps) { - return valueProps.value.split(', ').map((value, index) => ( + const stringifyValue = String(valueProps.value); + const arrayOfValueProps = stringifyValue.includes(',') ? stringifyValue.split(', ') : stringifyValue.split(' '); + return arrayOfValueProps.map((value, index) => ( {value}