Open ztosyl opened 1 year ago
Hi, also having the same error when unmouting the VueMultiselect
component, it only occurs if the searchable
prop is set to true
.
The error is thrown by this condition check in multiselectMixin.js
, related to PR https://github.com/shentao/vue-multiselect/pull/1497:
https://github.com/shentao/vue-multiselect/blob/master/src/multiselectMixin.js#L691
if (this.searchable) {
if (typeof this.$refs.search !== 'undefined') this.$refs.search.blur()
} else {
if (typeof this.$el !== 'undefined') this.$el.blur()
}
I get the same error
same here
Same error when using dynamic-options-provider. Happens If immediately leave the page while options are still being fetched.
Same error when search input is closed, i.e. searching for a tag and selecting the tag triggers the error.
Reproduction Link
if (typeof this.$refs.search !== 'undefined') this.$refs.search.blur();