Skip to content

Fix: input组件传入value后导致光标异常 #6889

@FourKnife

Description

@FourKnife

Version of antd-mobile

5.40.0

Operating system and its version

No response

Browser and its version

No response

Sandbox to reproduce

No response

What happened?

给VirtualInput传入value后, 并当删除为空时,强行塞入一个0, 会导致光标位置错误, 预期光标在最后面

Relevant log output

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