Is there any way to stop events on input boxes (with conditions in actual code)? Any of this would work in a regular browser:
document.getElementById("myinput").addEventListener('keydown', (event) => {
event.preventDefault();
event.stopPropagation();
return false;
});
document.getElementById("myinput").addEventListener('keyup', (event) => {
event.preventDefault();
event.stopPropagation();
return false;
});
document.getElementById("myinput").addEventListener('input', (event) => {
event.preventDefault();
event.stopPropagation();
return false;
});