Skip to content

input-number cannot be automatically cleared when the input value is not within the range #4534

Open
@XiaoRIGE

Description

@XiaoRIGE
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

2.2.6

Environment

ant-design-vue:2.2.6 vue:3.0.0

Reproduction link

Edit on CodeSandbox

Steps to reproduce

需求是当输入值不在范围内则清空表单值

What is expected?

输入值不在范围内,清空表单,保持聚焦

What is actually happening?

输入值不在范围内,如果未失焦,视图中的值未发生改变;如果失焦,则显示正常

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions