I have an HTML input field but if the user keeps on pressing a key, it will add the same letter non-stop. I want to suppress this behavior.
How can I override the input component's input event listener to not allow to not add successive characters when the key is being kept pressed down?