mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-21 01:02:59 +08:00
fix(components): [autocomplete] fix can not fetch suggestions when after clear (#6820)
This commit is contained in:
parent
e5b1606b74
commit
6eead7cc2f
@ -194,6 +194,7 @@ const handleInput = (value: string) => {
|
||||
emit('input', value)
|
||||
emit(UPDATE_MODEL_EVENT, value)
|
||||
suggestionDisabled.value = false
|
||||
activated.value = Boolean(value)
|
||||
if (!props.triggerOnFocus && !value) {
|
||||
suggestionDisabled.value = true
|
||||
suggestions.value = []
|
||||
|
Loading…
Reference in New Issue
Block a user