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 271d53d commit be24a72Copy full SHA for be24a72
src/components/widgets/Dropdown.js
@@ -58,7 +58,7 @@ class Dropdown extends Component {
58
placeholder={placeholder || _('Select an Option')}
59
isClearable={clearable}
60
value={opts.filter(o =>
61
- Array.isArray(value) ? value.includes(o.value) : value === o.value
+ Array.isArray(value) ? value.includes(o[valueKey]) : value === o[valueKey]
62
)}
63
options={opts}
64
isSearchable={searchable}
0 commit comments