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

[input-number]设置最小值后会干扰其他值输入 #1664

Closed
ue360 opened this issue Nov 24, 2021 · 3 comments
Closed

[input-number]设置最小值后会干扰其他值输入 #1664

ue360 opened this issue Nov 24, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@ue360
Copy link

ue360 commented Nov 24, 2021

TuSimple/naive-ui version (版本)

2.21.1

Vue version (Vue 版本)

3.2.22

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

any

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

any

Node version (Node 版本)

Reappearance link (重现链接)

https://codesandbox.io/s/gracious-snyder-vd6bs

Reappearance steps (重现步骤)

设置min="50",比如我想输入100,输入1的时候一直会跳成50

Expected results (期望的结果)

正常输入

Actual results (实际的结果)

干扰正常输入值

Remarks (补充说明)

应该有个输入框失去焦点或者回车的动作里面去控制最大最小值判断
https://element-plus.gitee.io/zh-CN/component/input.html#input-%E4%BA%8B%E4%BB%B6

@github-actions github-actions bot added the untriaged need to sort label Nov 24, 2021
@ue360 ue360 changed the title [input-number]设置最小值后会干扰输入其他值输入 [input-number]设置最小值后会干扰其他值输入 Nov 24, 2021
@Talljack
Copy link
Contributor

我记得之前的设计就是这样的 不确定是不是需要改动 @07akioni

@XieZongChen XieZongChen added consideration-needed and removed untriaged need to sort labels Nov 24, 2021
@ue360
Copy link
Author

ue360 commented Nov 26, 2021

什么时候能修复这个问题呢?目前严重影响输入使用了

@07akioni 07akioni added bug Something isn't working and removed consideration-needed labels Nov 28, 2021
@07akioni
Copy link
Collaborator

[input-number]仅在输入框失去焦点或用户按下回车时触发 #1662

我看看哈

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

No branches or pull requests

4 participants