react-maskedinput icon indicating copy to clipboard operation
react-maskedinput copied to clipboard

Ability to edit disabled MaskedInput

Open alexf2 opened this issue 7 years ago • 2 comments

If MakedEdit is rendered with disabled='true' prop, there a back-door ability, however, to edit the text. To reproduce:

  • create some text, which matches to input mask;
  • copy it to the clipboard;
  • click on the input box (left corner) and paste it via Ctrl+V shortcut.

The text will be inserted into.

alexf2 avatar Feb 08 '18 14:02 alexf2

how can I fix this? '--'

SergioDiniz avatar Mar 23 '18 19:03 SergioDiniz

It is awaiting in PR: "Preventing paste in disabled state #124". The repository maintainer has disappeared.

alexf2 avatar May 04 '18 18:05 alexf2