mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
fix(components): [mention] fix missing input emit (#20651)
This commit is contained in:
@@ -177,6 +177,7 @@ const handleInputKeyDown = (event: KeyboardEvent | Event) => {
|
||||
const newValue =
|
||||
inputValue.slice(0, prefixIndex) + inputValue.slice(splitIndex + 1)
|
||||
emit(UPDATE_MODEL_EVENT, newValue)
|
||||
emit(INPUT_EVENT, newValue)
|
||||
|
||||
const newSelectionEnd = prefixIndex
|
||||
nextTick(() => {
|
||||
|
||||
Reference in New Issue
Block a user