Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NInput 在清空时不触发 onChange 方法 #1754

Closed
ManiaJack opened this issue Dec 6, 2021 · 0 comments · Fixed by #1755
Closed

NInput 在清空时不触发 onChange 方法 #1754

ManiaJack opened this issue Dec 6, 2021 · 0 comments · Fixed by #1755
Assignees
Labels
bug Something isn't working

Comments

@ManiaJack
Copy link
Contributor

TuSimple/naive-ui version (版本)

2.21.4

Vue version (Vue 版本)

3.2.9

Browser and its version (浏览器及其版本)

Chrome(96.0.4664.45)

System and its version (系统及其版本)

Windows 10 Build 19043.1237

Node version (Node 版本)

Reappearance link (重现链接)

https://codesandbox.io/s/youthful-golick-4mn3h?file=/src/App.vue

Reappearance steps (重现步骤)

输入任意值,然后点击清空图标

Expected results (期望的结果)

清空也是一个改变绑定值的行为,应当能够触发 onChange 方法

Actual results (实际的结果)

清空时不触发 onChange 方法

Remarks (补充说明)

@github-actions github-actions bot added the untriaged need to sort label Dec 6, 2021
@Talljack Talljack added bug Something isn't working and removed untriaged need to sort labels Dec 6, 2021
@Talljack Talljack self-assigned this Dec 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants