ShortlyPortly1964
ShortlyPortly1964
FFilament
Created by ShortlyPortly1964 on 4/15/2024 in #❓┊help
Creating Filament for other languages/systems
Hi all. I love Filament and would love to have something similar in my other favourite language/system namely Elixir/Phoenix. Would the core team (or anyone) have any concerns about a solution in a different system that is very heavily inspired by Filament: cheers
5 replies
FFilament
Created by ShortlyPortly1964 on 10/15/2023 in #❓┊help
Passing the current record to an Action
Hi. I'm new to Filament but think it is an amazing piece of software. I'm struggling with something that I think "should" be possible but I've just hit a wall. I have a Nursery Resource that defines an action select
public static function table(Table $table): Table
{
return $table
->columns([
TextColumn::make('name'),

])
->filters([
//
])
->actions([
Tables\Actions\EditAction::make(),
Tables\Actions\Action::make('select')
->action('select')
])
->bulkActions([
//
]);
}
public static function table(Table $table): Table
{
return $table
->columns([
TextColumn::make('name'),

])
->filters([
//
])
->actions([
Tables\Actions\EditAction::make(),
Tables\Actions\Action::make('select')
->action('select')
])
->bulkActions([
//
]);
}
When I hit 'select' is does indeed call the correct funtion in ListNuerseries.php BUT I cannot for the life of me see how to pass the current record. I'm sure I'm doing something daft but any help would be appreciated.
8 replies
FFilament
Created by ShortlyPortly1964 on 10/11/2023 in #❓┊help
Middleware and Filament
Apologies if this is in the documentation but I couldn't find it. How would I define middleware for Filament created Resources, etc? Normally I'd add something to web.php but not sure how to do it for the auto generated routes that Filament gives me. cheers
6 replies