dialog causes error Accessing element.ref was removed in React 19
I’m using primereact
with nextjs
but i get error Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.
. so i guess the dialog
component is using some ref
but i don’t know how to solve this issue, the dialog contains a form and the form is actually functional regardless of the error, is it safe to ignore it ?