yannisc.
yannisc.
FFilament
Created by yannisc. on 2/4/2024 in #❓┊help
TrimStrings Middleware is not working?
I add the TrimStrings middleware in the middleware method in the config of the panel, but it does not seem to work. I save a form where I put spaces around a field and these spaces are saved in the database. Anyone has experienced that? Am I doing something wrong?
4 replies
FFilament
Created by yannisc. on 1/16/2024 in #❓┊help
How can I access custom page's filters at the custom widget?
I have added "use HasFiltersAction;" and a header filter action at the custom page: FilterAction::make() ->form([ DatePicker::make('start_date'), DatePicker::make('end_date'), ]), I have also added the "use InteractsWithPageFilters;" at the custom Table Widget. Filters are shown but even when I apply filters, $this->fiilters is always null in the widget class.
7 replies