Skip to content

input-number 在使用formatter、parser在谷歌浏览器输入4位数字后会重复出现多位数 #3298

@smallchicken

Description

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

Version

1.7.2

Environment

window10, Chrome

Reproduction link

https://www.antdv.com/components/input-number-cn/

Steps to reproduce

当使用a-input-number的:formatter时, 将输入法切换为微软 中文, 在符号后面输入数字时会回填两个相同的数字
例如官方formatter的方法, :输入1234,会自动变成1,2344

What is expected?

正常输出输入的数字

What is actually happening?

输入1234,会自动变成1,2344,之后没输入一位都补出2位数

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