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组件,点击加减icon后,可能导致超过min和max的范围 #2606

Closed
Formulaaa opened this issue Oct 21, 2023 · 0 comments · Fixed by #2607
Closed

input-number组件,点击加减icon后,可能导致超过min和max的范围 #2606

Formulaaa opened this issue Oct 21, 2023 · 0 comments · Fixed by #2607

Comments

@Formulaaa
Copy link
Contributor

NutUI 包名

@nutui/nutui

NutUI 版本号

4.0.3

平台

h5

重现链接

https://nutui.jd.com/playground/#eyJBcHAudnVlIjoiPHNjcmlwdCBzZXR1cCBsYW5nPVwidHNcIj5cbmltcG9ydCB7IHNob3dUb2FzdCB9IGZyb20gJ0BudXR1aS9udXR1aSdcbmltcG9ydCB7IERvbmdkb25nIH0gZnJvbSAnQG51dHVpL2ljb25zLXZ1ZSdcbmltcG9ydCB7cmVmfSBmcm9tIFwidnVlXCJcbmNvbnN0IHZhbHVlID0gcmVmKDAuMDEpXG48L3NjcmlwdD5cbjx0ZW1wbGF0ZT5cbiAgPG51dC1jZWxsPlxuICAgIDxudXQtaW5wdXQtbnVtYmVyIHYtbW9kZWw9XCJ2YWx1ZVwiIDptaW49XCIwXCIgOm1heD1cIjFcIiA6ZGVjaW1hbC1wbGFjZXM9XCIyXCI+PC9udXQtaW5wdXQtbnVtYmVyPlxuICA8L251dC1jZWxsPlxuPC90ZW1wbGF0ZT4ifQ==

重现步骤

点击减号icon

期望的结果是什么?

超出了min-max的范围,应当把modelValue的值改到边界值

实际的结果是什么?

当前modelValue的值小于了min

环境信息

No response

其他补充信息

No response

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

Successfully merging a pull request may close this issue.

1 participant