DEV Community

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

 
wendyperalta profile image
Wendy

When I moved the data-testid='input-email' to the Controller component wrapper, now I get an error in the test:
TestingLibraryElementError: Unable to find an element by: [data-testid="input-email"]
I'm assuming because it is a custom component.

Thread Thread
 
aaronksaunders profile image
Aaron K Saunders

can you put a simple project together on stackblitz?

Thread Thread
 
uxtx_tim profile image
Tim Proffitt

Im curious what came of this - having the same issues :(