(default) Lazy loading breaks table widget.
I am trying to make a dashboard for a client including page filters.
The default for TableWidget's is that lazy is
true
.
This breaks my widget and returns the following error:
Typed property Filament\Widgets\TableWidget::$table must not be accessed before initialization
This comes from:
/vendor/filament/widgets/resources/views/table-widget.blade.php:4
Any idea why it works when setting isLazy
to true
on a Widget extending from TableWidget?1 Reply
Same issue here
@Kaaiman Do you use
self::
somewhere in your widgets?