sag_components 1.0.96 → 1.0.97

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.
@@ -174,9 +174,7 @@ var Dropdown = function Dropdown(_ref) {
174
174
  onInputChangeHandler(event, newInputValue);
175
175
  },
176
176
  disablePortal: true,
177
- value: defaultValue
178
- // defaultValue={getOptionByLabel(defaultValue)}
179
- ,
177
+ value: defaultValue && !(currentOption !== null && currentOption !== void 0 && currentOption.newValue) ? defaultValue : currentOption === null || currentOption === void 0 ? void 0 : currentOption.newValue,
180
178
  id: "combo-box",
181
179
  options: options,
182
180
  sx: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sag_components",
3
- "version": "1.0.96",
3
+ "version": "1.0.97",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {