yannisc.
yannisc.
FFilament
Created by yannisc. on 1/16/2024 in #❓┊help
How can I access custom page's filters at the custom widget?
and it worked.
7 replies
FFilament
Created by yannisc. on 1/16/2024 in #❓┊help
How can I access custom page's filters at the custom widget?
public function getWidgetData(): array { return [ 'filters' => $this->filters, 'record' => $this->getRecord(), ]; }
7 replies
FFilament
Created by yannisc. on 1/16/2024 in #❓┊help
How can I access custom page's filters at the custom widget?
For now, I added a getWidget function on the custom page with:
7 replies
FFilament
Created by yannisc. on 1/16/2024 in #❓┊help
How can I access custom page's filters at the custom widget?
I see that custom pages blade does not include "...(property_exists($this, 'filters') ? ['filters' => $this->filters] : []), ". That would be a good addition for next releases.
7 replies