Skip to content

Commit

Permalink
fix(autocomplete): fix clearable doesn't work (element-plus#892)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan2128 authored Dec 8, 2020
1 parent 0209939 commit fa632b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/autocomplete/src/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ export default defineComponent({
}
const handleClear = () => {
activated.value = false
ctx.emit(UPDATE_MODEL_EVENT, '')
ctx.emit('clear')
}
const handleKeyEnter = () => {
Expand Down

0 comments on commit fa632b8

Please sign in to comment.