Typed property Filament\Widgets\TableWidget::$table must not be accessed before initialization.
$this->getTableFilterState("key")["value"]
returns the error $table must not be used before initialisation when I try to retrieve the current filter value.5 Replies
I made a custom table widget and designed my filter fields inside getTableFilters(). Inside getTableQuery(), I called $this->getTableFilterState("key")["value"] to obtain the filter value. It worked well in version 2, but in version 3, it gives $table must not be accessed before initialization.
can you resolved it?
Yes, however, I'm unable to get the current filter value. Could you please help me?
i asked because i has the same problem bro
same problem too, sometimes happen when switching the select choice in a dashboard filter or when the dashboard page with form filters load