Skip to content

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

@Skedush

Description

@Skedush

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions