Will ๐Ÿ‡ฌ๐Ÿ‡น
Will ๐Ÿ‡ฌ๐Ÿ‡น
FFilament
Created by Azad Furkan ลžAKAR on 11/21/2024 in #โ“โ”Šhelp
Changing Selected Item background and text color in Select input
Nice, I mean it could look a bit better but your approach is not bad at all ๐Ÿ™‚ Maybe share your code to help other in the future
11 replies
FFilament
Created by Azad Furkan ลžAKAR on 11/21/2024 in #โ“โ”Šhelp
Changing Selected Item background and text color in Select input
No description
11 replies
FFilament
Created by Will ๐Ÿ‡ฌ๐Ÿ‡น on 6/27/2024 in #โ“โ”Šhelp
Call async JavaScript function from a Action
here is a quick demo, modal closes right away doesn't wait for the JS function to finish
3 replies
FFilament
Created by Cheesus Krays on 4/8/2024 in #โ“โ”Šhelp
How do I show the date
column is case sensitive so make sure to type it as is in your DB 'Created_at' shoul be 'created_at' So Tables\Columns\TextColumn::make('created_at') The other one not sure :/
6 replies
FFilament
Created by Will ๐Ÿ‡ฌ๐Ÿ‡น on 4/8/2024 in #โ“โ”Šhelp
How to get team_id when creating new record from Relation Manager
Thanks @tomc actually found probaly a safer way since Users can edit values in hidden fields
->headerActions([
Tables\Actions\CreateAction::make()->mutateFormDataUsing(function (array $data): array {
$data['team_id'] = Filament::getTenant()->id;
return $data;
})
])
->headerActions([
Tables\Actions\CreateAction::make()->mutateFormDataUsing(function (array $data): array {
$data['team_id'] = Filament::getTenant()->id;
return $data;
})
])
As mention in the docs - https://filamentphp.com/docs/3.x/actions/prebuilt-actions/create#customizing-data-before-saving
5 replies