how to set/change toggle button value – laravel
I have a toggle button to set status from pending to approved, it works fine but I cannot sort the values based on pending or approved. Every row value is displayed as PendingApprovedPendingApproved (in console.log). (In database its correctly saved…