mithril-materialized 3.5.1 → 3.5.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.
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -6302,7 +6302,7 @@ const Select = () => {
|
|
|
6302
6302
|
view: ({ attrs }) => {
|
|
6303
6303
|
var _a;
|
|
6304
6304
|
const controlled = isControlled(attrs);
|
|
6305
|
-
const { newRow, className = 'col s12', key, options, multiple = false, label, helperText, placeholder = '', isMandatory, iconName, style, disabled, } = attrs;
|
|
6305
|
+
const { newRow, className = 'col s12', key, options = [], multiple = false, label, helperText, placeholder = '', isMandatory, iconName, style, disabled, } = attrs;
|
|
6306
6306
|
state.isMultiple = multiple;
|
|
6307
6307
|
// Get selected IDs from props or internal state
|
|
6308
6308
|
let selectedIds;
|
package/dist/index.js
CHANGED
|
@@ -6304,7 +6304,7 @@ const Select = () => {
|
|
|
6304
6304
|
view: ({ attrs }) => {
|
|
6305
6305
|
var _a;
|
|
6306
6306
|
const controlled = isControlled(attrs);
|
|
6307
|
-
const { newRow, className = 'col s12', key, options, multiple = false, label, helperText, placeholder = '', isMandatory, iconName, style, disabled, } = attrs;
|
|
6307
|
+
const { newRow, className = 'col s12', key, options = [], multiple = false, label, helperText, placeholder = '', isMandatory, iconName, style, disabled, } = attrs;
|
|
6308
6308
|
state.isMultiple = multiple;
|
|
6309
6309
|
// Get selected IDs from props or internal state
|
|
6310
6310
|
let selectedIds;
|
package/dist/index.umd.js
CHANGED
|
@@ -6306,7 +6306,7 @@
|
|
|
6306
6306
|
view: ({ attrs }) => {
|
|
6307
6307
|
var _a;
|
|
6308
6308
|
const controlled = isControlled(attrs);
|
|
6309
|
-
const { newRow, className = 'col s12', key, options, multiple = false, label, helperText, placeholder = '', isMandatory, iconName, style, disabled, } = attrs;
|
|
6309
|
+
const { newRow, className = 'col s12', key, options = [], multiple = false, label, helperText, placeholder = '', isMandatory, iconName, style, disabled, } = attrs;
|
|
6310
6310
|
state.isMultiple = multiple;
|
|
6311
6311
|
// Get selected IDs from props or internal state
|
|
6312
6312
|
let selectedIds;
|