How to delete all selected checkboxes in livewire and javascript, i already have a code for selecting all checkboxes in javascript, the problem is creating the delete logic of it in livewire then integrate to the front end so i can successfully delete all selected items:
my code:
<table...
How can i delete multiple values in checkbox or select all then delete using javascript for selecting all then livewire for deleting, i dont know how can i make a logic for the back end so i can successfully delete:
<table class="table" width="100%">
<thead>
<tr>...
Ano kayang Problema nito Guys, Error "Only arrays and Traversables can be unpacked" . pag ni remove ko yung event.detail[0] at gawing event.detail lang, nawawala yung error pero undefined naman yung value na nakukuha ko sa section_name at section_id at hindi rin na dedelete yung data...
Ano po kaya problema sa code ko may error po "custom_livewire.js:61 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'emit')", hindi po na de delete ang data, im using laravel livewire po
Javascript
window.addEventListener('Swal:DeletedRecord', event => {...
Laravel: how to filter data by category, for example the user click the information technology category, it should display the information technology related datas on the same page. Please include the migration files:
this is my code:
PostController
<?php
namespace App\Http\Controllers;
use...
Ask lang po sa mga may alam nito, Gusto ko po e display ang specific or related data based sa category, for example: pag ang user nag click sa information technology na category dapat e display nya ang related data about information technology, and dapat sana ma display sya sa same page parin.
how to show post by category laravel
paano po ba e show ang mga post by category in laravel po, for example gusto ko makita ang posts about IT or about accounting: