Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Object(...) is not a function #9

Closed
baldash opened this issue Jun 16, 2020 · 5 comments
Closed

Object(...) is not a function #9

baldash opened this issue Jun 16, 2020 · 5 comments

Comments

@baldash
Copy link

baldash commented Jun 16, 2020

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)

And the error:
error

@bluebill1049
Copy link
Member

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.

@baldash
Copy link
Author

baldash commented Jun 16, 2020

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 !

@bluebill1049
Copy link
Member

hey @baldash ErrorMessage is part of V5, you don't need to use this lib. This is made for V6.

@bluebill1049
Copy link
Member

@baldash
Copy link
Author

baldash commented Jun 16, 2020

oh, my bad, I need to read the doc better...

Thanks a lot for the help!

@baldash baldash closed this as completed Jun 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants