0

Redux-Form provides onPaste but how do I use it to prevent pasting content from clipboard.

The way this onPaste is achieved in Redux-Forms is a bit different from HTML-Forms.

Code:

    <Field
      component={ReduxFormInputTwo}
      type="email"
      name="email"
    />
    <Password
      name="password"
    />```
Federick J
  • 478
  • 5
  • 16
  • Does this answer your question? [Disable pasting text into HTML form](https://stackoverflow.com/questions/1226574/disable-pasting-text-into-html-form) – Shivam Jha Sep 30 '21 at 15:22
  • @ShivamJha Redux-forms have a different way to achieve this. The question you have linked is for HTML forms. – Federick J Sep 30 '21 at 15:23

0 Answers0