Zoltar
refreshFormData in afterSave() function
Hello, simply question:
i try to update a form field after saving data, reading a value from database.
in edit page add this function
protected function afterSave(): void
{
$this->refreshFormData([
'calorie_calc',
]);
}
but not work... any idea?
Regards
22 replies
filtersForm with action button
Hello,
i create a simple report page with filter form.
The filters work properly but how do I update the filters with an action button instead of the simple change event?
And How do i create a reset button that reset all filters?
14 replies
Table Widget - query with join
Hello,
I have simple Table widget with custom query that use JOIN.
I can't use relations but need to use JOIN function
How can I call join fields in columns?
TextColumn::make('activity_group.activity_id') in code below
Thanks
4 replies
Best pratices for reporting page
HI,
I would like to create a reporting page (tables, graphs etc) for my application.
Reading the documentation I saw that I can use widgets.
What is the best practice for creating a custom or resource page that uses both tables and widgets (StatsOverviewWidget or ChartWidget) sharing the same filters?
Thanks always
35 replies
Action in custom page
Hello,
Have a simple button in blade view
in my custom page, function challenge() call an action
when try to click button get error
Method Filament\Notifications\Actions\Action::form does not exist.
any suggest?
thanks
23 replies