vue-google-maps icon indicating copy to clipboard operation
vue-google-maps copied to clipboard

[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.

Open zainbhatti123 opened this issue 1 year ago • 3 comments

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.

zainbhatti123 avatar Apr 30 '24 10:04 zainbhatti123

Any updates on this issue ?

danieltorscho avatar Sep 06 '24 16:09 danieltorscho

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

azulkipli avatar Dec 10 '24 10:12 azulkipli