Is ref accessible on form components

UI Components for React
Post Reply
chrishj
Posts: 229
Joined: 11 Jul 2011, 21:58
Location: England, Lancashire
Contact:

28 Jan 2021, 23:12

Is the attribute ref (React.RefObject) available on form components so that React-hook-validator can be used with PrimeReact?

Many thanks
PrimeReact: 9.6.0
NextJs: 13.4.12
Theme Apollo v9.0
Database pg 8.8.0
react-hook-form: 7.38.0

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

03 Feb 2021, 08:51

I think they expect the given ref value to be assigned to the DOM element in the component. I made some changes in 6.0.2. If the problem persists after being released in 6.0.2, can you create an issue on Github?

Best Regards,

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 13 guests