FilamentF
Filament5mo ago
3 replies
jamesro

Call to a member function makeGetUtility() on null

In v4 i get an error on this

->recordActions([
             
                Action::make('fisier_aditional')
                    ->label('Download')
                    ->visible(fn(Get $get, $record): bool => $record->fisier_aditional !== null)
                    ->button()
                    ->icon('heroicon-m-arrow-down-tray')
                    ->action(function (Action $action, $record) {
                       // and here goes my acction code
                    }),

            ])


was working fine on v3, any idea if something changed?
Was this page helpful?