TypeError: Cannot read property 'vm' of undefined when using component with jQuery
See original GitHub issueI may be dense, but when trying to use your component with vue-router I get TypeError: Cannot read property 'vm' of undefined
when trying to use the filter function. Sorting and layout both work before trying to filter, but after they break with the same error.
Here is a live example of the issue. In this case there’s a router.js and main.js and the template for the isotope router-view is inline in the router file. Any idea what’s going wrong?
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
TypeError: Cannot read properties of undefined in Vue
This is an issue related with the this binding. It's a common mistake to write a function declaration as a callback inside methods...
Read more >getting a cannot read property of undefined error from vue.js ...
Coding example for the question getting a cannot read property of undefined error from vue.js when using v-model with an array-Vue.js.
Read more >TypeError: cannot use 'in' operator to search for 'x' in 'y'
It can only be used to check if a property is in an object. Message. TypeError: Cannot use 'in' operator to search for...
Read more >Cannot read property 'filtertype' of undefined - jQWidgets
This error is now crashing the grid completely as you will see. Don't delve too deeply in the custom js code (JqxUtils object),...
Read more >Vue.js – Vuex “TypeError: Cannot read property 'data' of ...
Vue.js – Vuex “TypeError: Cannot read property 'data' of undefined”. apivue.jsvuex. I take data through the store using Vuex and API. I'm a...
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
Fixed in version 2.1.0
@bornytm cool! I will release a version where isotope component forces isJQueryFiltering=false. Untill I release this version, you can set isJQueryFiltering=false manually.