ish-ui 1.0.26 → 1.0.27
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.
|
@@ -208,7 +208,7 @@ function EditInPlaceSearchSelect({ label, disabled, className, labelAdornment, i
|
|
|
208
208
|
const getOptionLabel = option => (selectLabelCondition ? selectLabelCondition(option) : option && option[selectLabelMark]) || '';
|
|
209
209
|
const getOptionSelected = (option, value) => {
|
|
210
210
|
if (multiple || returnType === 'object') {
|
|
211
|
-
return option[selectValueMark] === value[selectValueMark];
|
|
211
|
+
return value && (option[selectValueMark] === value[selectValueMark]);
|
|
212
212
|
}
|
|
213
213
|
return option[selectValueMark] === value;
|
|
214
214
|
};
|