dtable-ui-component 6.0.110-olq.4 → 6.0.110-pli.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -150,7 +150,7 @@ class SelectOptionGroup extends _react.Component {
|
|
|
150
150
|
return this.filterOptions.map((opt, i) => {
|
|
151
151
|
let key = opt.value.column ? opt.value.column.key : i;
|
|
152
152
|
let isActive = this.state.activeIndex === i;
|
|
153
|
-
let isSelected = value && (typeof value === 'object' && value.value
|
|
153
|
+
let isSelected = value && (typeof value === 'object' && value.value === opt.value || typeof value === 'string' && value === opt.value);
|
|
154
154
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_option.default, {
|
|
155
155
|
index: i,
|
|
156
156
|
isActive: isActive,
|