Skip to content

In the example of formatting display in inputNumber in 3.0.0-beta.10, when the number percent sign is deleted, even the % will be deleted together #5296

@Zengwy-zmc

Description

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

Version

3.0.0-beta.11

Environment

浏览器版本

Reproduction link

https://next.antdv.com/components/input-number-cn#API

Steps to reproduce

parser和formatter结合使用时, 第一下删除的时候连百分号也一起删除 ,但再按删除百分号又显示出来, 我倾向于这是个bug 像antdv2版本的那种删除效果就很好

What is expected?

像antdv2版本的那种删除效果一样, 删除的时候只是删除数字

What is actually happening?

像antdv2版本的那种删除效果一样, 删除的时候%号也删了, 再删还会显示出来

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