matfish2 / vue-tables

Vue.js grid components
https://www.npmjs.com/package/vue-tables
MIT License
357 stars 76 forks source link

Uncaught TypeError: Cannot read property 'nodeType' of undefined #105

Closed calvinmuller closed 8 years ago

calvinmuller commented 8 years ago

Uncaught TypeError: Cannot read property 'nodeType' of undefined compileNode @ ?d41d:7097 compile @ ?d41d:6876 Vue.$compile @ ?d41d:9491 ready @ ready.js?a6ef:3

matfish2 commented 8 years ago

Unable to replicate. (Also both the demo and the options are working on the latest dist version, and there is no error). Please try to delete the folder from your node_modules and reinstall.

The source of this error is the newly added option to use vue-compiled HTML in the table headings. The error seems to imply that headings are not registered on the $els array. The new table-tempalte.html registers it on line 39: (<tr v-el:headings>)

calvinmuller commented 8 years ago

That's so weird, I switch to 1.5.5 and it works fine. Ill see what I can find. thanks

calvinmuller commented 8 years ago

<tr v-el:headings>

This was added to the new template and I used a custom one, fixed now. Thanks