Fatihah
Tab not initialize
public function getTabsDetail() : Tabs
{
return Tabs::make('Tabs')
->tabs([
Tab::make('Notifications')
->icon('heroicon-m-bell')
->schema([
LivewireComponent::make(FurnitureDataTable::class, ['houseId' => $this->model->id])
]),
]);
}
public function render()
{
return view('livewire.house.house-view', [
'tabDetail' => $this->getTabsDetail(),
]);
}
and this is code in my blade
{{ $tabDetail }}
but i got error
Typed property Filament\Forms\Components\Component::$container must not be accessed before initialization
please help5 replies