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

[NumberPicker]NumberPicker 组件bug #4961

Open
1119879311 opened this issue Nov 6, 2024 · 0 comments
Open

[NumberPicker]NumberPicker 组件bug #4961

1119879311 opened this issue Nov 6, 2024 · 0 comments

Comments

@1119879311
Copy link

Component

NumberPicker

Reproduction link

https://fusion.design/pc/component/number-picker?themeid=2#limit-container

Steps to reproduce

数字组件的最大值和最小值的限制bug
背景:最大值的修正时机是在onChage 事件,并且能回调onChange事件是正确的
问题:

  1. 最小值的修正时机却是在失去焦点事件,这是不正确的
  2. 在不停的输入过程中,低于最小值的限制,没有像最大值一样自动修正最小值,还可以不停的输入低于最小值,这是不正确的
  3. 当超出最小值限制,就不会触发onChang 事件,这也是不正确的,要不在输入过程中要立即修正最小值,并且能回调onChange 事件
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant