Skip to content

When InputNumber has a formatter attribute, it is not possible to enter a decimal with a negative zero point, such as -0.121 #6360

Open
@wolfidea

Description

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

Version

3.3.0-beta.4

Environment

vue3 ant-design-vue 3.2.15

Reproduction link

Edit on CodeSandbox

Steps to reproduce

InputNumber 存在formatter属性时候,输入 -0.1 ,会被格式化成0.1

What is expected?

期望存在formatter时,可以输入 -0.121

What is actually happening?

一直存在

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions