DEV Community

Discussion on: Using React Hook Form v6+ with Ionic React Components - Update

Collapse
 
clementvp profile image
Van Peuter Clément

Hello, How do you reset the form ? Or how do you set values to the form (with a proper render of the form ?)

Collapse
 
aaronksaunders profile image
Aaron K Saunders

you reset the form using the reset method from the hook... you set the form using the default values, it is funny that you asked because i was working on a blog post about that!!

Collapse
 
aaronksaunders profile image
Aaron K Saunders