schema([ Select::make('network_id') ->relationship('network', 'name') ->required(), TextInput::make('username') ->required(), TextInput::make('url') ->required() ->url(), ]); } public function table(Table $table): Table { return $table ->recordTitleAttribute('network.name') ->columns([ Tables\Columns\TextColumn::make('network.name'), Tables\Columns\TextColumn::make('username'), TextColumn::make('url'), ]) ->headerActions([ Tables\Actions\CreateAction::make(), ]) ->actions([ Tables\Actions\EditAction::make(), Tables\Actions\DeleteAction::make(), ]) ->bulkActions([ Tables\Actions\BulkActionGroup::make([ Tables\Actions\DeleteBulkAction::make(), ]), ]); } }