v-on="on": Property or method "on" is not defined on the instance
See original GitHub issue <v-menu offset-y>
<template v-slot:activator="{ on }">
<v-btn
color="primary"
dark
v-on="on"
>
Dropdown
</v-btn>
</template>
<v-list>
<v-list-tile
v-for="(item, index) in items"
:key="index"
@click=""
>
<v-list-tile-title>{{ item.title }}</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</div>```
it cannot work
it print :
Property or method "on" is not defined on the instance
what is the "on" ?????
Issue Analytics
- State:
- Created 5 years ago
- Reactions:9
- Comments:5 (1 by maintainers)
Top Results From Across the Web
[Vue warn]: Property or method is not defined on the instance ...
Problem. [Vue warn]: Property or method "changeSetting" is not defined on the instance but referenced during render.
Read more >Property or Method is Not Defined - Michael Thiessen
The full message is this: [Vue warn]: Property or method "prop" is not defined on the instance but referenced during render. Make sure...
Read more >Property or method * is not defined on the instance but ...
Property or method * is not defined on the instance but referenced during render. Make sure to declare reactive data properties in the...
Read more >Hello there i am getting this error - Laracasts
Hello there i am getting this error: `[Vue warn]: Property or method "message" is not defined on the instance but referenced during render....
Read more >[vue3] Property xxx was accessed during render but is not ...
In Vue.js, the error generally means you are referring to a variable which could be a data, prop, method or computed property in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
i confirm. when we use new syntax with v-slot:activator=“{ on }”. v-menu component is broken.
Please only create issues with the provided issue creator. In the boilerplate for creating an issue, it explains that any ticket made without this will be automatically closed. Thank you.