We're using two components called VueFormWizard, vue-paginate. when we use vue-paginate in VueFormWizard for sorting our data, we get an error like this:
[Vue warn]: Error in getter for watcher "currentPage": "TypeError: Cannot read property 'allQuestions' of undefined"
our code:
{{getAllQuestions}}
<paginate name="allQuestions" :list="allQuestions" :per="2">
<div class="" v-for="quest in paginated('allQuestions')">
<label v-bind:class="{selectedQuestionClass:quest==selectedQuestion}"
@click="selectQuestion(quest)"
class="form-control allQuest">{{quest.description}}</label>
</div>
</paginate>
<paginate-links for="allQuestions"></paginate-links>
p.s : getAllQuestions is a function for retrive all data from our RESTFul API thats get an array.