@etsoo/materialui 1.2.28 → 1.2.29

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.
@@ -123,7 +123,7 @@ export function ComboBoxMultiple(props) {
123
123
  return (React.createElement("div", null,
124
124
  React.createElement("input", { ref: inputRef, "data-reset": "true", type: "text", style: { display: "none" }, name: name, value: getValue(stateValue), readOnly: true, onChange: inputOnChange }),
125
125
  React.createElement(Autocomplete, { value: stateValue == null
126
- ? undefined
126
+ ? []
127
127
  : Array.isArray(stateValue)
128
128
  ? stateValue
129
129
  : [stateValue], disableCloseOnSelect: disableCloseOnSelect, getOptionLabel: getOptionLabel, isOptionEqualToValue: (option, value) => option[idField] === value[idField], onChange: (event, value, reason, details) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/materialui",
3
- "version": "1.2.28",
3
+ "version": "1.2.29",
4
4
  "description": "TypeScript Material-UI Implementation",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -259,7 +259,7 @@ export function ComboBoxMultiple<
259
259
  <Autocomplete<T, true, false, false>
260
260
  value={
261
261
  stateValue == null
262
- ? undefined
262
+ ? []
263
263
  : Array.isArray(stateValue)
264
264
  ? stateValue
265
265
  : [stateValue]