metronics-vue 1.3.12 → 1.5.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.
@@ -5659,7 +5659,7 @@ const Ir = /* @__PURE__ */ N(Er, [["render", Sr]]), Ar = {
5659
5659
  }, Tr = {
5660
5660
  key: 0,
5661
5661
  class: "text-danger pl-1"
5662
- }, Pr = ["value", "disabled"], Mr = {
5662
+ }, Pr = ["value", "disabled", "multiple"], Mr = {
5663
5663
  key: 0,
5664
5664
  value: "close"
5665
5665
  }, $r = {
@@ -5680,8 +5680,9 @@ function Br(i, s, t, e, n, r) {
5680
5680
  class: q(["select", { [r.inputSize]: !0, "border-danger": r.inputRequired && n.isFocused }]),
5681
5681
  onInput: s[0] || (s[0] = (...a) => r.handleInput && r.handleInput(...a)),
5682
5682
  onFocus: s[1] || (s[1] = (a) => n.isFocused = !0),
5683
- value: t.modelValue,
5684
- disabled: t.disabled
5683
+ value: t.multiple ? t.modelValue || [] : t.modelValue,
5684
+ disabled: t.disabled,
5685
+ multiple: t.multiple
5685
5686
  }, [
5686
5687
  t.resetBtn ? (I(), A("option", Mr, "Reset Selection")) : R("", !0),
5687
5688
  M("option", $r, "Select " + V(t.placeholder), 1),