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
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ish-ui",
3
- "version": "1.0.26",
3
+ "version": "1.0.27",
4
4
  "description": "UI elements for onCourse and other ish apps",
5
5
  "main": "main.ts",
6
6
  "devDependencies": {