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.
1 parent a052794 commit 5351fb6Copy full SHA for 5351fb6
packages/core/src/components/Picker/PickerInputContainer.tsx
@@ -53,14 +53,15 @@ const PickerInputContainer: React.FC<
53
selectedLabel = selectedValue
54
.map(
55
(value) =>
56
- options.find((option) => option.value === value)?.label.toString() ||
57
- value
+ options
+ .find((option) => option.value.toString() === value.toString())
58
+ ?.label.toString() || value
59
)
60
.join(", ");
61
} else {
62
selectedLabel =
63
options
- .find((option) => option.value === selectedValue)
64
+ .find((option) => option.value.toString() === selectedValue?.toString())
65
?.label.toString() || selectedValue;
66
}
67
0 commit comments