When using the PrimeReact Dropdown component in a form that's under Formik control, I'm getting warnings: "Formik called 'handleBlur', but you forgot to pass an 'id' or 'name' attribute".
The input that it's referring to is the hidden input that's rendered by the Dropdown component:
<input type="text" readonly="" aria-haspopup="listbox">
Without being able to assign an id or name prop to the hidden input, how have you handled this scenario and avoided the warnings?
Dropdown + Formik
What version of PrimeReact? it was fixed in 8.4.0: https://github.com/primefaces/primereact/issues/2224
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
-
- Information
-
Who is online
Users browsing this forum: No registered users and 7 guests