Replies: 1 comment
-
Had a simular issue. https://rappasoft.com/docs/laravel-livewire-tables/v2/datatable/available-methods#content-builder
Hope this helps... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I´m trying to create a user CRUD on the UsersTable and I'm not sure if I'm going the right direction here..
My delete function is as follow..
App\Http\Livewire\UserCrud.php
App\Http\Livewire\UsersTable,php
And..
resources\views\livewire\user\actions.blade.php
And..
And I get
Undefined variable $id
I also tried:
wire:click="delete({{ $row->id }})"
But I get:
Unable to resolve dependency [Parameter #0 [ <required> $id ]] in class App\Http\Livewire\UsersTable
How do I pass ID to my modal? Can anyone shed a light please?
Beta Was this translation helpful? Give feedback.
All reactions