r/learnreactjs • u/rajrs33 • Mar 04 '22
use multiselect-react-dropdown with react-hook-form
im trying to add multiselect dropdown in react-hook-form validation not work properly need help on this
code sandbox : https://codesandbox.io/s/react-hooks-form-59ylif
4
Upvotes
View all comments
Show parent comment
1
u/rajrs33 Mar 05 '22
its working fine, i missed the inputRef in controller component
current : https://codesandbox.io/s/react-hooks-form-59ylif
stackoverflow ref : https://stackoverflow.com/questions/67648763/show-error-from-controllers-in-react-hook-forms
u/Omkar_K45 thanks for your devsupport :)