We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
What version are you using? 2.19.2
What browser? Chrome
What did you expect to happen? initalSortBy should not be mutated from within VueGoodTable
What actually happened? Whenever i change the sort on VueGoodTable my local variable is updated.
Please detail your steps here
<VueGoodTable :columns="columns" :rows="invoices" @on-row-click="viewInvoice" :pagination-options="{ setCurrentPage: query.page, perPage: query.limit, enabled: true }" :sort-options="{ initialSortBy: query.sort }" :isLoading.sync="loading" :totalRows="total" mode="remote" @on-page-change="onPageChange" @on-sort-change="onSortChange" @on-column-filter="onColumnFilter" @on-per-page-change="onPerPageChange" styleClass="vgt-table condensed" class="vgt-table--card" /> </div>
The text was updated successfully, but these errors were encountered:
Make it a call back function
Sorry, something went wrong.
4659e10
Successfully merging a pull request may close this issue.
Issue Type (delete the irrelevant ones)
Specs
What version are you using? 2.19.2
What browser? Chrome
Expected Behavior
What did you expect to happen?
initalSortBy should not be mutated from within VueGoodTable
Actual Behavior
What actually happened?
Whenever i change the sort on VueGoodTable my local variable is updated.
Steps to Reproduce the Problem
Please detail your steps here
The text was updated successfully, but these errors were encountered: