Skip to content

Commit

Permalink
build: 3.0.0-beta.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mattelen committed May 9, 2023
1 parent 3947d1d commit 225733f
Show file tree
Hide file tree
Showing 15 changed files with 160 additions and 126 deletions.
109 changes: 58 additions & 51 deletions dist/vue3-multiselect.common.js → dist/vue-multiselect.common.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/vue-multiselect.common.js.map

Large diffs are not rendered by default.

17 changes: 12 additions & 5 deletions dist/vue-multiselect.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -389,12 +389,15 @@ var multiselectMixin = {
}
},
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
},
search () {
this.$emit('search-change', this.search);
Expand Down Expand Up @@ -870,6 +873,10 @@ var pointerMixin = {
var script = {
name: 'vue-multiselect',
mixins: [multiselectMixin, pointerMixin],
compatConfig: {
MODE: 3,
ATTR_ENUMERATED_COERCION: false
},
props: {
/**
* name attribute to match optional label element
Expand Down
17 changes: 12 additions & 5 deletions dist/vue-multiselect.js
Original file line number Diff line number Diff line change
Expand Up @@ -390,12 +390,15 @@ 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
},
search () {
this.$emit('search-change', this.search);
Expand Down Expand Up @@ -871,6 +874,10 @@ var VueMultiselect = (function (exports, vue) {
var script = {
name: 'vue-multiselect',
mixins: [multiselectMixin, pointerMixin],
compatConfig: {
MODE: 3,
ATTR_ENUMERATED_COERCION: false
},
props: {
/**
* name attribute to match optional label element
Expand Down
17 changes: 12 additions & 5 deletions dist/vue-multiselect.ssr.js
Original file line number Diff line number Diff line change
Expand Up @@ -393,12 +393,15 @@ var multiselectMixin = {
}
},
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
},
search () {
this.$emit('search-change', this.search);
Expand Down Expand Up @@ -874,6 +877,10 @@ var pointerMixin = {
var script = {
name: 'vue-multiselect',
mixins: [multiselectMixin, pointerMixin],
compatConfig: {
MODE: 3,
ATTR_ENUMERATED_COERCION: false
},
props: {
/**
* name attribute to match optional label element
Expand Down
Loading

0 comments on commit 225733f

Please sign in to comment.