Object(...) is not a function
baldash opened this issue · 5 comments
Hi all,
First of all, thanks a lot for providing us with a tool like this, it's a really good idea.
However, I can't seem to make it work, for some reason it keeps saying Object(...) is not a function.
I followed the basic example in the doc, here is my code:
https://jsfiddle.net/qa846skp/
(used fiddle just for the colors)
hey @baldash which version are you using? can you share the version that you are using?
both react hook form and error message version. it would be great if you can supply a codesandbox as well, easier for us to reproduce issue.
Error messages: 0.0.2
React hook forms: 5.7.2
I'm not able to provide a code sand box for now but will do !
hey @baldash ErrorMessage is part of V5, you don't need to use this lib. This is made for V6.
oh, my bad, I need to read the doc better...
Thanks a lot for the help!