metronics-vue 1.2.12 → 1.3.12
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/metronics-vue.es.js
CHANGED
|
@@ -5576,7 +5576,12 @@ function Sr(i, s, t, e, n, r) {
|
|
|
5576
5576
|
}
|
|
5577
5577
|
const Ir = /* @__PURE__ */ N(Er, [["render", Sr]]), Ar = {
|
|
5578
5578
|
props: {
|
|
5579
|
-
modelValue:
|
|
5579
|
+
modelValue: {
|
|
5580
|
+
type: [String, Number, Array],
|
|
5581
|
+
default(i) {
|
|
5582
|
+
return i.multiple ? [] : "";
|
|
5583
|
+
}
|
|
5584
|
+
},
|
|
5580
5585
|
// Fix type declaration
|
|
5581
5586
|
options: {
|
|
5582
5587
|
type: Array,
|
|
@@ -5632,7 +5637,7 @@ const Ir = /* @__PURE__ */ N(Er, [["render", Sr]]), Ar = {
|
|
|
5632
5637
|
return "";
|
|
5633
5638
|
},
|
|
5634
5639
|
inputRequired() {
|
|
5635
|
-
return this.required ? this.multiple ? !this.modelValue.length : !this.modelValue : !1;
|
|
5640
|
+
return this.required ? this.multiple ? !(this.modelValue && this.modelValue.length) : !this.modelValue : !1;
|
|
5636
5641
|
}
|
|
5637
5642
|
},
|
|
5638
5643
|
methods: {
|