`->headerActions([
Tables\Actions\CreateAction::make(),
Tables\Actions\AttachAction::make()
->form(fn(AttachAction $action): array => [
$action->getRecordSelect(),
Forms\Components\Select::make('details')->multiple()
->options(function (RelationManager $livewire): array {
return $this->getOwnerRecord()
->getAttribute('eventtype')
->toArray();
}),
]),
])
`->headerActions([
Tables\Actions\CreateAction::make(),
Tables\Actions\AttachAction::make()
->form(fn(AttachAction $action): array => [
$action->getRecordSelect(),
Forms\Components\Select::make('details')->multiple()
->options(function (RelationManager $livewire): array {
return $this->getOwnerRecord()
->getAttribute('eventtype')
->toArray();
}),
]),
])