devpoolxx
devpoolxx
FFilament
Created by Guido on 11/10/2024 in #❓┊help
Conditionally hide SelectColumn based on email domain
8 replies
FFilament
Created by devpoolxx on 9/2/2024 in #❓┊help
Filament table builder using union query
I have tried setting a state, tooltip on the TextColumn: just so I can access the content of this column inside the action
TextColumn::make('unique_id')
->state(fn ($record) => $record->unique_id)
->tooltip(fn ($record) => $record->unique_id)
TextColumn::make('unique_id')
->state(fn ($record) => $record->unique_id)
->tooltip(fn ($record) => $record->unique_id)
and inside the EditAction:
EditAction::make()
->form(function ($form, $table) {
// state
dd($table->getColumn('unique_id')->getState()); // returns null


// tooltip
dd($table->getColumn('unique_id')->getToolTip()); // Cannot access property unique_id on null error
});
EditAction::make()
->form(function ($form, $table) {
// state
dd($table->getColumn('unique_id')->getState()); // returns null


// tooltip
dd($table->getColumn('unique_id')->getToolTip()); // Cannot access property unique_id on null error
});
7 replies
FFilament
Created by devpoolxx on 9/2/2024 in #❓┊help
Filament table builder using union query
Hi, thanks for the suggestion, however I want to use it in an action. The problem is im using union in my table query so 2 models. But it only injects 1 model
7 replies
FFilament
Created by devpoolxx on 9/2/2024 in #❓┊help
Filament table builder using union query
Or even just get the diplayed coluimn row inside the action?
7 replies
FFilament
Created by devpoolxx on 4/19/2024 in #❓┊help
How to close action confirmation modal after form validate fails?
@Anish Thank you so much! this worked on my end!
9 replies
FFilament
Created by devpoolxx on 4/19/2024 in #❓┊help
How to close action confirmation modal after form validate fails?
I am losing my head on finding solution for this one 😓
9 replies
FFilament
Created by devpoolxx on 4/18/2024 in #❓┊help
Custom page with form and select input
@Leandro Ferreira thank you! I figured this out that i've been doing the pages & component logic incorrect. I just followed this: https://filamentphp.com/docs/3.x/actions/adding-an-action-to-a-livewire-component
6 replies