components([ TextInput::make('geschoss') ->required() ->maxLength(255), ]); } public function table(Table $table): Table { return $table ->recordTitleAttribute('geschoss') ->columns([ TextColumn::make('geschoss') ->searchable(), ]) ->filters([ // ]) ->headerActions([ CreateAction::make() ->icon('phosphor-file-plus'), ImportAction::make() ->importer(RaeumealleImporter::class) ->label('Hochladen') ->icon('phosphor-upload') ->color('info') ->options([ 'projekte_id' => $this->getOwnerRecord()->id, ]) ->fileRules([ File::types(['csv', 'txt'])->max(1024), ]), ]) ->recordActions([ EditAction::make()->iconButton()->color('gray'), DeleteAction::make()->iconButton(), ]) ->toolbarActions([ BulkActionGroup::make([ DeleteBulkAction::make(), ]), ]); } }