ElemeFE / ElemeFE/element

[Bug Report] Number input Setter and change event not getting triggered on keyboard inputs. it only happens on focus blur or using the control buttons

Open
#22,235 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.15.10

### OS/Browsers version
macOS Ventura / Chrome, firefox & safari

### Vue version
2.7.13

### Reproduction Link
https://codepen.io/Albert-Kurian/pen/LYrRVRO?editors=1111

### Steps to reproduce
Type in a number into the element number input field using keyboard and then type in a number into the native number input field

### What is Expected?
The value setter should get called and change event should be fired.

### What is actually happening?
setter was not getting called and change handler was not triggered for element number input until the field lose focus, or the control buttons are used. but native input field updates the value with every key press.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.