F
Filament16mo ago
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;
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!
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server