Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Cannot run app with basic table #967

Open
1 task done
malet-pr opened this issue Oct 11, 2023 · 2 comments
Open
1 task done

Cannot run app with basic table #967

malet-pr opened this issue Oct 11, 2023 · 2 comments

Comments

@malet-pr
Copy link

Issue Type (delete the irrelevant ones)

  • Bug

Specs

What version are you using?
I don´t know, it doesn´t say. I just installed it (2023/10/11)

What browser?
Google Chrome on Centos 9

Expected Behavior

I expected to see the basic table

Actual Behavior

I get this error in the console and the app will not start
vue-good-table.esm.js:9203 Uncaught TypeError: _this6.$set is not a function
at vue-good-table.esm.js:9203:18
at Proxy.forEach ()
at vue-good-table.esm.js:9202:28
at Proxy.forEach ()
at Proxy.unselectAllInternal (vue-good-table.esm.js:9201:12)
at Proxy.resetTable (vue-good-table.esm.js:9381:12)
at Proxy.handleSearch (vue-good-table.esm.js:9174:12)
at Proxy.handler10 (vue-good-table.esm.js:8728:16)
at callWithErrorHandling (runtime-core.esm-bundler.js:158:18)
at callWithAsyncErrorHandling (runtime-core.esm-bundler.js:166:17)

Steps to Reproduce the Problem

Please detail your steps here

  1. I copied the basic example in https://xaksis.github.io/vue-good-table/guide/#installation
  2. Added the component to App.vue
  3. I run the app.
  4. (I am using composition API)

jsfiddle

If you provide a jsfiddle reproducing the issue, it'll be addressed much faster.
you can use this as base

@saturnonfire
Copy link

Up!
The same issue - example from documentation just dont work. The problem is in this method
unselectAllInternal: function unselectAllInternal(forceAll) { var _this6 = this; var rows = this.selectAllByPage && !forceAll ? this.paginated : this.filteredRows; rows.forEach(function (headerRow, i) { headerRow.children.forEach(function (row, j) { _this6.$set(row, 'vgtSelected', false); }); }); this.emitSelectedRows(); },

@azriel49
Copy link

Same thing for me

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

No branches or pull requests

3 participants