vue-multiselect
Advanced tools
Comparing version 3.0.0-beta.1 to 3.0.0-beta.2
@@ -392,8 +392,11 @@ import { openBlock, createBlock, withKeys, withModifiers, renderSlot, createVNode, withDirectives, Fragment, renderList, toDisplayString, vShow, createCommentVNode, Transition, withCtx, createTextVNode } from 'vue'; | ||
watch: { | ||
internalValue () { | ||
internalValue: { | ||
handler () { | ||
/* istanbul ignore else */ | ||
if (this.resetAfter && this.internalValue.length) { | ||
this.search = ''; | ||
this.$emit('update:modelValue', this.multiple ? [] : null); | ||
} | ||
if (this.resetAfter && this.internalValue.length) { | ||
this.search = ''; | ||
this.$emit('update:modelValue', this.multiple ? [] : null); | ||
} | ||
}, | ||
deep: true | ||
}, | ||
@@ -874,2 +877,6 @@ search () { | ||
mixins: [multiselectMixin, pointerMixin], | ||
compatConfig: { | ||
MODE: 3, | ||
ATTR_ENUMERATED_COERCION: false | ||
}, | ||
props: { | ||
@@ -876,0 +883,0 @@ /** |
@@ -393,8 +393,11 @@ var VueMultiselect = (function (exports, vue) { | ||
watch: { | ||
internalValue () { | ||
internalValue: { | ||
handler () { | ||
/* istanbul ignore else */ | ||
if (this.resetAfter && this.internalValue.length) { | ||
this.search = ''; | ||
this.$emit('update:modelValue', this.multiple ? [] : null); | ||
} | ||
if (this.resetAfter && this.internalValue.length) { | ||
this.search = ''; | ||
this.$emit('update:modelValue', this.multiple ? [] : null); | ||
} | ||
}, | ||
deep: true | ||
}, | ||
@@ -875,2 +878,6 @@ search () { | ||
mixins: [multiselectMixin, pointerMixin], | ||
compatConfig: { | ||
MODE: 3, | ||
ATTR_ENUMERATED_COERCION: false | ||
}, | ||
props: { | ||
@@ -877,0 +884,0 @@ /** |
@@ -396,8 +396,11 @@ 'use strict'; | ||
watch: { | ||
internalValue () { | ||
internalValue: { | ||
handler () { | ||
/* istanbul ignore else */ | ||
if (this.resetAfter && this.internalValue.length) { | ||
this.search = ''; | ||
this.$emit('update:modelValue', this.multiple ? [] : null); | ||
} | ||
if (this.resetAfter && this.internalValue.length) { | ||
this.search = ''; | ||
this.$emit('update:modelValue', this.multiple ? [] : null); | ||
} | ||
}, | ||
deep: true | ||
}, | ||
@@ -878,2 +881,6 @@ search () { | ||
mixins: [multiselectMixin, pointerMixin], | ||
compatConfig: { | ||
MODE: 3, | ||
ATTR_ENUMERATED_COERCION: false | ||
}, | ||
props: { | ||
@@ -880,0 +887,0 @@ /** |
{ | ||
"name": "vue-multiselect", | ||
"version": "3.0.0-beta.1", | ||
"version": "3.0.0-beta.2", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "types": "index.d.ts", |
@@ -390,8 +390,11 @@ function isEmpty (opt) { | ||
watch: { | ||
internalValue () { | ||
internalValue: { | ||
handler () { | ||
/* istanbul ignore else */ | ||
if (this.resetAfter && this.internalValue.length) { | ||
this.search = '' | ||
this.$emit('update:modelValue', this.multiple ? [] : null) | ||
} | ||
if (this.resetAfter && this.internalValue.length) { | ||
this.search = '' | ||
this.$emit('update:modelValue', this.multiple ? [] : null) | ||
} | ||
}, | ||
deep: true | ||
}, | ||
@@ -398,0 +401,0 @@ search () { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
13387
1127275
20