Filament: Custom Action with Modal Form (Bonus: Infolist View)

preview_player
Показать описание
In this 2-in-1 video, I want to demonstrate two features of a Filament CRM.

Рекомендации по теме
Комментарии
Автор

Table/ActionGroup this is an interesting topic too, since filament does not support select dropdown in action we would need a hacky way to build this.

anujshrestha
Автор

Why, when I perform a redirect within the action, does it never close the modal?

DanielRealesHarana
Автор

Hi, thanks for your awesome video resource, i was wondering if the example you showed in this video works inside a view page, for more context, when using infolist to view the details of an order, i want to be able to have actions that display modals to update details of the record, just basically what you have explained in this video, but inside a view page.

I have tried this and the error i am getting is
Unable to call component method. Public method [mountTableAction] not found on component

this is the code inside my ViewOrder class

protected function getActions(): array
{
return [
ActionGroup::make([
Action::make('Reject')
->form([
reason for rejecting the order'),
])
->action(function (Order $record, array $data) {
//take action
}),
]),
];
}

cybernerdie
Автор

Would you recommend filament to build apps for a large store, which may need different customized page other than the basic page that filament had

maruatajongte
Автор

hello sir. i want to add a button in user row column in users table when i clicked on that button a custom page open's and transaction history of that user show in which i also want to add filter of created from to until to show data please help how to do this

olidyes
Автор

Hello povilas one question, Is it possible to create an action on a resource that creates another resource? For example, I have the invoice resorces page, I want to add a button that passes the invoice data to the resource Order page + some custom data.
For now the only thing I can do is go to order create with this :P
->action(fn() => redirect()->route('filament.admin.resources.orders.create')),

Tnx !!

YouTubeMix
Автор

When is a Laravel Splade series coming? "Splade Daily" 😎

leonelmunozlopez