DEV Community

loading...

Discussion on: Using React Hook Form with react-native - Part I (set up & validation)

Collapse
dmfdiogo profile image
Diogo Magrini Furmann

for those using the latest version of react hook form an error will popup regarding onChange function..
in the controller render function, you're looking for

render={({ field: { onChange, value } }) => (
Enter fullscreen mode Exit fullscreen mode