react-otp-input icon indicating copy to clipboard operation
react-otp-input copied to clipboard

expose input properties, like onFocus

Open gperdomor opened this issue 3 years ago • 1 comments

  • Describe the Feature Request Please add a way to pass some properties to all input fields, this is useful to detect if the input is touched, to trigger validation errors, also should be useful to integrate with formik

gperdomor avatar Mar 10 '21 15:03 gperdomor

This would also be useful to pass a name prop to allow extensions like 1Password autofill the input when it appears.

vitorbertolucci avatar Dec 16 '21 00:12 vitorbertolucci

You can now fully customize the input element with v3

prateek3255 avatar Mar 25 '23 15:03 prateek3255