We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5df995d + 68ebc9e commit 39413b4Copy full SHA for 39413b4
src/components/Dropdown/MultipleSelectDropdown.tsx
@@ -57,6 +57,7 @@ const MultipleDropdown: FCCWD<DrowdownProps> = (
57
selectedObjectsTemp.push(value);
58
}
59
onSelect(selectedObjectsTemp);
60
+
61
setSelectedObjects(selectedObjectsTemp);
62
};
63
@@ -103,7 +104,7 @@ const MultipleDropdown: FCCWD<DrowdownProps> = (
103
104
{!isObjectSelected ?
105
(buttonTitle || 'Please Select')
106
: selectedObjects.length <= displayLength ?
- `${selectedObjects}` :
107
+ `${selectedObjects.map(item => displayedButtonValue(item))}` :
108
`${selectedObjects?.length} Selected`}
109
</Animated.Text>
110
{right || (
0 commit comments