Fixed #1205 - AutoComplete forceSelection with Multiple overwrites selection

pull/1237/head
Tuğçe Küçükoğlu 2021-04-30 18:08:23 +03:00
parent 888eb54a4c
commit e230370091
1 changed files with 3 additions and 1 deletions

View File

@ -491,9 +491,11 @@ export default {
this.$refs.input.value = ''; this.$refs.input.value = '';
this.inputTextValue = ''; this.inputTextValue = '';
this.$emit('clear'); this.$emit('clear');
if(!this.multiple) {
this.$emit('update:modelValue', null); this.$emit('update:modelValue', null);
} }
} }
}
}, },
isSelected(val) { isSelected(val) {
let selected = false; let selected = false;