chris.mccabe
chris.mccabe
FFilament
Created by chris.mccabe on 7/12/2024 in #❓┊help
Access filter options in resource static method
I have dynamic columns for a json field meaning i have json records stored in a db and the columns to display the values from the json record are stored as json paths in another table. How do i get the value of the table filters in the static table method? This prints an empty array?

public static function table(Table $table): Table
{

$filterValue = Request::input('filters.Types');
Log::info('Filter Value');
Log::info(print_r($table->getFilters(),true));

public static function table(Table $table): Table
{

$filterValue = Request::input('filters.Types');
Log::info('Filter Value');
Log::info(print_r($table->getFilters(),true));
2 replies
FFilament
Created by chris.mccabe on 6/10/2024 in #❓┊help
can you stop import columns not being displayed?
No description
1 replies