re: How to prevent pasting into input fields VIEW POST

Sloan, the sloth mascot Comment marked as low quality/non-constructive by the community View code of conduct

Blocking cut+paste is a clumsy, ill-conceived thing to do on any input control. Don't do it.
This is a solution to a non-existent problem and sadly just represents undesirable cancer-like behaviours on the web. Browsers/password managers offer to save credentials these days. Even if they are entered erroneously, they're saved. And, there's always "forgot password" if you lock yourself out inadvertently.
All this type of thing does is frustrate competent users.

Code of Conduct Report abuse