DarkKnight
DarkKnight
FFilament
Created by DarkKnight on 12/24/2023 in #❓┊help
How can I dispatch a livewire event from a table?
Your thoughts are always clearer after a gooood 10h sleep 😂
26 replies
FFilament
Created by DarkKnight on 12/24/2023 in #❓┊help
How can I dispatch a livewire event from a table?
Yeah, I literally just remembered it existed.
26 replies
FFilament
Created by DarkKnight on 12/24/2023 in #❓┊help
How can I dispatch a livewire event from a table?
yess
26 replies
FFilament
Created by DarkKnight on 12/24/2023 in #❓┊help
How can I dispatch a livewire event from a table?
I always use dd() anyways, but I wasnt aware of this
26 replies
FFilament
Created by DarkKnight on 12/24/2023 in #❓┊help
How can I dispatch a livewire event from a table?
wow this is cool
26 replies
FFilament
Created by DarkKnight on 12/24/2023 in #❓┊help
How can I dispatch a livewire event from a table?
yeah. Filament has livewire as a dependency, since its built on top of it
26 replies
FFilament
Created by DarkKnight on 12/24/2023 in #❓┊help
How can I dispatch a livewire event from a table?
->action(function (Model $record, array $data, \Livewire\Component $livewire) {
$livewire->dispatch('custom-event');
})
->action(function (Model $record, array $data, \Livewire\Component $livewire) {
$livewire->dispatch('custom-event');
})
26 replies
FFilament
Created by DarkKnight on 12/24/2023 in #❓┊help
How can I dispatch a livewire event from a table?
Got it
26 replies
FFilament
Created by DarkKnight on 12/24/2023 in #❓┊help
How can I dispatch a livewire event from a table?
Which makes sense, but i dont know how else to do it
26 replies
FFilament
Created by DarkKnight on 12/24/2023 in #❓┊help
How can I dispatch a livewire event from a table?
Using $this when not in object context
26 replies
FFilament
Created by DarkKnight on 12/24/2023 in #❓┊help
How can I dispatch a livewire event from a table?
->actions([
Tables\Actions\DeleteAction::make(),
Action::make('Test')
// ...
->action(function (Model $record, array $data) {
$this->dispatch('custom-event');
}),
->actions([
Tables\Actions\DeleteAction::make(),
Action::make('Test')
// ...
->action(function (Model $record, array $data) {
$this->dispatch('custom-event');
}),
26 replies
FFilament
Created by DarkKnight on 12/24/2023 in #❓┊help
How can I dispatch a livewire event from a table?
hello
26 replies
FFilament
Created by DarkKnight on 12/23/2023 in #❓┊help
How can I redirect on notifications action?
fixed
10 replies
FFilament
Created by DarkKnight on 12/23/2023 in #❓┊help
How can I redirect on notifications action?
Okk, thanks for the help
10 replies
FFilament
Created by DarkKnight on 12/23/2023 in #❓┊help
How can I redirect on notifications action?
No description
10 replies
FFilament
Created by DarkKnight on 12/23/2023 in #❓┊help
How can I redirect on notifications action?
Im still having trouble with that
10 replies
FFilament
Created by DarkKnight on 12/23/2023 in #❓┊help
How can I redirect on notifications action?
Hmm
10 replies
FFilament
Created by DarkKnight on 12/15/2023 in #❓┊help
How can I add Actions to the body of Sections?
17 replies
FFilament
Created by DarkKnight on 12/15/2023 in #❓┊help
How can I add Actions to the body of Sections?
Is it also possible to have widgets/charts inside of Section?
17 replies
FFilament
Created by DarkKnight on 12/15/2023 in #❓┊help
How can I add Actions to the body of Sections?
Thank you
17 replies