diff --git a/packages/ui/src/FormWidgets/Select/index.tsx b/packages/ui/src/FormWidgets/Select/index.tsx index 8edad1fdc..93340a683 100644 --- a/packages/ui/src/FormWidgets/Select/index.tsx +++ b/packages/ui/src/FormWidgets/Select/index.tsx @@ -251,11 +251,16 @@ export const Select = ({ const selectedOptions = useMemo(() => { if (multiple) { - if (!value?.length) return ""; + if (!value?.length) { + return ""; + } - return normalizedOptions - .filter((opt) => value.includes(opt.value as T)) - .map((opt) => opt.label) + return value + .map( + (value_) => + normalizedOptions.find((opt) => opt.value === value_)?.label, + ) + .filter(Boolean) .join(", "); }