Skip to content

🐛 [Bug]: InputNumber数字输入框,去除掉值之后失焦/确认之后会变成数值0,应该为空 #1843

@aolinpk

Description

@aolinpk

Version

1.6.18

Vue Version

3.3.4

Link to minimal reproduction

官方文档即可复现

Step to reproduce

当inputNumber框作为一个非必填输入时他理应可以清空值。但是devui组件中的InputNumebr 用户手动删除值失焦或者确认时会变回0。
image
image

What is expected

在inputNumber组件中删除已输入的值可以变为空。

What is actually happening

删除掉值之后变成了0

Any additional comments (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    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