FilamentF
Filament3y ago
1 reply
Prodex

How can I access the eloquent model in widgets in v3?

In v2 I've done it like so:
class Invoices extends Widget implements HasTable
{
    use InteractsWithTable;

    public ?Model $record = null;


But $record is now null in V3. How should this be migrated? Couldn't find it in the docs.

Thank you!
Was this page helpful?