[Vuejs]-Laravel/vuejs Change boolean value from 0 to 1

0👍

Its because you have not defined any method with name change(). @change event expects a method named change() in your code. But I guess you are trying to execute changeStatus() method when toggle button is changed. Changing your code to @change="changeStatus()" should fix the problem.

Leave a comment