insin / react-maskedinput

Masked <input/> React component

Home Page:http://insin.github.io/react-maskedinput/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ability to edit disabled MaskedInput

alexf2 opened this issue · 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.

how can I fix this? '--'

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