diff --git a/src/components/TreeSelect/TreeSelect.tsx b/src/components/TreeSelect/TreeSelect.tsx index 8330f09b93..01dafa08b0 100644 --- a/src/components/TreeSelect/TreeSelect.tsx +++ b/src/components/TreeSelect/TreeSelect.tsx @@ -173,8 +173,10 @@ export const TreeSelect = React.forwardRef(function TreeSelect( mapItemDataToContentProps(list.structure.itemsById[itemId]).title, + value.map((itemId) => + itemId in list.structure.itemsById + ? mapItemDataToContentProps(list.structure.itemsById[itemId]).title + : '', ), ).join(', ')} view="normal"