schema([ Forms\Components\TextInput::make('account_id') ->required() ->maxLength(255), ]); } public function table(Table $table): Table { return $table ->recordTitleAttribute('account_id') ->columns([ Tables\Columns\TextColumn::make('budgetItem.account.name') ->label('Account') ->sortable() ->searchable(), Tables\Columns\TextColumn::make('period') ->label('Period') ->sortable(), Tables\Columns\TextColumn::make('amount') ->label('Amount') ->money() ->sortable(), ]) ->filters([ // ]) ->headerActions([ Tables\Actions\CreateAction::make(), Tables\Actions\AssociateAction::make(), ]) ->actions([ Tables\Actions\EditAction::make(), Tables\Actions\DissociateAction::make(), Tables\Actions\DeleteAction::make(), ]) ->bulkActions([ Tables\Actions\BulkActionGroup::make([ Tables\Actions\DissociateBulkAction::make(), Tables\Actions\DeleteBulkAction::make(), ]), ]); } }