Skip to content
New issue

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

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

Already on GitHub? # to your account

[Vue warn]: Wrong type passed as event handler to onClass - did you forget @ or : in front of your prop? Expected function or array of functions, received type string. #209

Open
zainbhatti123 opened this issue Apr 30, 2024 · 2 comments

Comments

@zainbhatti123
Copy link

zainbhatti123 commented Apr 30, 2024

I'm using it with nuxt3 and its giving a weird warnings related client-side. I've also tried it inside <client-only> but not working.

Getting two kind of warnings in console

[Vue warn]: Wrong type passed as event handler to onClass - did you forget @ or : in front of your prop?
Expected function or array of functions, received type string.

Can anyone please help me out in this ?

Thanks in Advance.

@danieltorscho
Copy link

Any updates on this issue ?

@azulkipli
Copy link

any one know what this error about?

Wrong type passed as event handler to onId - did you forget @ or : in front of your prop?
Expected function or array of functions, received type string. 
  at <Autocomplete id="gmapAutocomplete" ref="mapAutocomplete" class="mb-3 flk-input pl-7"  ... > 

Screenshot 2024-12-10 at 17 35 10

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants