A vue3.js component to disallow copy/paste and right click context menu operations html input tag(s)
npm i dont-copy
import DontCopy from "dont-copy";
//to disable copy/paste and right click context menu on any input tag. Wrap input tag in <DontCopy></DontCopy>
<DontCopy>
<input type="text" .../>
</DontCopy>
//to disable copy/paste and right click context menu on multiple input tags at once
<DontCopy>
<input type="text" .../>
<input type="text" .../>
<input type="text" .../>
</DontCopy>
ISC © Umair Khan 📬 umair@siqasoft.com