mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
fix(components): [input-number] Chinese can be displayed in the numeric input box (#19018)
This commit is contained in:
@@ -292,6 +292,9 @@ const handleFocus = (event: MouseEvent | FocusEvent) => {
|
||||
|
||||
const handleBlur = (event: MouseEvent | FocusEvent) => {
|
||||
data.userInput = null
|
||||
if (data.currentValue === null && input.value?.input) {
|
||||
input.value.input.value = ''
|
||||
}
|
||||
emit('blur', event)
|
||||
if (props.validateEvent) {
|
||||
formItem?.validate?.('blur').catch((err) => debugWarn(err))
|
||||
|
||||
Reference in New Issue
Block a user