mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-22 10:30:34 +03:00
committed by
Jeff Sagal
parent
d834f2c993
commit
e76e3c966b
@@ -1029,7 +1029,7 @@
|
|||||||
*/
|
*/
|
||||||
maybeDeleteValue() {
|
maybeDeleteValue() {
|
||||||
if (!this.$refs.search.value.length && this.mutableValue && this.clearable) {
|
if (!this.$refs.search.value.length && this.mutableValue && this.clearable) {
|
||||||
return this.multiple ? this.mutableValue.pop() : this.mutableValue = null
|
this.mutableValue = this.multiple ? this.mutableValue.slice(0, -1) : null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user