Is ref accessible on form components

UI Components for React
Post Reply
chrishj
Posts: 192
Joined: 11 Jul 2011, 21:58

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
PrimeFaces:
J2EE 6 Glassfish 4.1 Mojarra 2.2.7 primefaces 6.2.7
Netbeans 8.1
database postgresql-9.11
Theme - Barcelona

PrimeReact:
4.2.2

mert.sincan
Posts: 4637
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 4 guests