Inputmask icon indicating copy to clipboard operation
Inputmask copied to clipboard

Unable to copy selected content in readonly field.

Open wannesdebacker opened this issue 2 years ago • 0 comments

  • If readonly is added to an input with a mask, then it's impossible to copy that content.

  • For example

If you manually add readonly to the this plugin example site: https://robinherbots.github.io/Inputmask/ you can see that the content will not copy (it is however selectable (which is good)). Normal implementation of readonly example: https://jsfiddle.net/wannesdebacker/a2z18tpr/ (only input is disabled, but you can still copy).

So readonly should allow copy-ing.

  • OS: All
  • Browser: All
  • Inputmask version: Latest

wannesdebacker avatar Jan 16 '23 15:01 wannesdebacker