schema([ Forms\Components\TextInput::make('title') ->required() ->maxLength(255), ]); } public function table(Table $table): Table { return $table ->recordTitleAttribute('title') ->columns([ Tables\Columns\TextColumn::make('title')->label('Заголовок'), ]) ->filters([ // ]) ->headerActions([ // Tables\Actions\CreateAction::make()->visible(!$this->ownerRecord->section->exists()), ]) ->actions([ Tables\Actions\EditAction::make(), Tables\Actions\DissociateAction::make(), ]) ->bulkActions([ Tables\Actions\BulkActionGroup::make([ Tables\Actions\DetachBulkAction::make(), ]), ]); } }