pxlrbt / filament-activity-log

Spatie activity log integration into Filament
MIT License
126 stars 24 forks source link

Include Tabs and other Layout groups #1

Closed pxlrbt closed 1 year ago

pxlrbt commented 1 year ago

Typed property Filament\Forms\Components\Component::$container must not be accessed before initialization

Saifallak commented 1 year ago

getting the same error Typed property Filament\Forms\Components\Component::$container must not be accessed before initialization

when using MorphToSelect

                  Forms\Components\MorphToSelect::make('billable')
                        ->label(__('Billable'))
                        ->columnSpanFull()
                        ->types([
                            Forms\Components\MorphToSelect\Type::make(Client::class)
                                ->label(__('Client'))
                                ->titleColumnName('name'),
                            Forms\Components\MorphToSelect\Type::make(Supplier::class)
                                ->label(__('Supplier'))
                                ->titleColumnName('name'),
                            Forms\Components\MorphToSelect\Type::make(Employee::class)
                                ->label(__('Employee'))
                                ->titleColumnName('name'),
                        ]),