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

InputNumber组件使用allowEmpty没有效果,在官方的demo中也是如此。 #2530

Open
Skedush opened this issue Aug 9, 2024 · 1 comment · May be fixed by #2950
Open

InputNumber组件使用allowEmpty没有效果,在官方的demo中也是如此。 #2530

Skedush opened this issue Aug 9, 2024 · 1 comment · May be fixed by #2950
Assignees

Comments

@Skedush
Copy link
Contributor

Skedush commented Aug 9, 2024

NutUI React 包名

@nutui/nutui-react

NutUI React 版本号

2.6.16

平台

h5

重现链接

https://nutui.jd.com/taro/react/2x/#/zh-CN/component/inputnumber

重现步骤

基础用法中的数字不能删除
image

期望的结果是什么?

可以删除数字

实际的结果是什么?

删除后自动填充1,若是使用表单的话,显示的是1,提交表单的回调是undefined

环境信息

No response

其他补充信息

No response

@Skedush
Copy link
Contributor Author

Skedush commented Aug 9, 2024

#1943 可能有关的pr

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.

2 participants