Skip to content

Backspace on controlled input adds "backspace" text to the value #2865

@vitpankin

Description

@vitpankin
  • Describe the bug
    I took regular input, made it controlled and used inputmask via use-masked-input (I know it's another package, but it's basically a pretty thin wrapper for Inputmask and has no influence on the issue). On any backspace keypress the "backspace" text adds to the value.

  • Add a link to a codepen, jsfiddle or other example page which shows the problem
    Better, I have a picture of a example. I mean PR - [#2865] - Backspace on controlled input adds backspace text to the value - fix #2866

I do have a codepen tho.
https://codepen.io/vitpankin/pen/MYKXQOY
type anything there and then hit a "backspace"

  • OS:
    MacOS Sequoia 15.6 (24G84)
  • Browser
    Any
  • Inputmask version
    5.0.10-beta.59

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions