Nijholt
Nijholt
FFilament
Created by Alexandre on 2/21/2025 in #❓┊help
How do I use actions on a ViewRecord page?
Ah shoot! It did the trick for me: https://discord.com/channels/883083792112300104/1342447016567115827 Good luck!
10 replies
FFilament
Created by Alexandre on 2/21/2025 in #❓┊help
How do I use actions on a ViewRecord page?
Try using $arguments:
->action(function (array $arguments): void {
dd($arguments);
});
->action(function (array $arguments): void {
dd($arguments);
});
10 replies
FFilament
Created by Nijholt on 2/21/2025 in #❓┊help
Retrieve data from a custom Filament\Actions\Action
Ok. Should have used $arguments:
PublicationStatusAction::make('status')
->action(function ($arguments): void {
dd($arguments);
})
PublicationStatusAction::make('status')
->action(function ($arguments): void {
dd($arguments);
})
So this is solved.
5 replies
FFilament
Created by Nijholt on 2/19/2025 in #❓┊help
HeaderAction disappears after usage.
Was a conditional thing. I was only showing the action when a relation was loaded. Somehow the relation disappears when using the action, causing the action to disappear too.
7 replies
FFilament
Created by Nijholt on 2/21/2025 in #❓┊help
Retrieve data from a custom Filament\Actions\Action
{
"path": "",
"method": "mountAction",
"params": [
"status",
{
"id": 12345
}
]
}
{
"path": "",
"method": "mountAction",
"params": [
"status",
{
"id": 12345
}
]
}
On click, I see this data in the request
5 replies
FFilament
Created by Nijholt on 2/19/2025 in #❓┊help
HeaderAction disappears after usage.
No description
7 replies
FFilament
Created by Nijholt on 2/19/2025 in #❓┊help
HeaderAction disappears after usage.
No description
7 replies
FFilament
Created by Christian Giupponi on 1/19/2024 in #❓┊help
import csv and generate slug before save the post
I would suggest you use: mutateFormDataBeforeCreate
6 replies
FFilament
Created by F alko on 7/28/2023 in #❓┊help
Infolist or widgets in forms
I'm trying to get it to work as well. I was trying something like:
Components\Group::make(fn($livewire) => [
Infolist::make($livewire)
->schema([ Infolists\Components\TextEntry::make('product.name')
->label('Product name'),
])
])
Components\Group::make(fn($livewire) => [
Infolist::make($livewire)
->schema([ Infolists\Components\TextEntry::make('product.name')
->label('Product name'),
])
])
12 replies