Closed MarekLacoAXA closed 1 year ago
Would be nice so have access to the onpaste event of the underlying input text element.
onpaste
Use case: prevent the pasting event (I know it's a very bad UX behavior, but still we need to disable paste on an "repeat phone" field to prevent typo errors):
input.onpaste = (e) => e.preventDefault();
Thanks!
Would be nice so have access to the
onpaste
event of the underlying input text element.Use case: prevent the pasting event (I know it's a very bad UX behavior, but still we need to disable paste on an "repeat phone" field to prevent typo errors):
Thanks!