From ed36041a7efc94064d93e86deae211ba14544a00 Mon Sep 17 00:00:00 2001 From: notCharles Date: Sun, 12 May 2024 12:44:44 -0400 Subject: [PATCH] Allow alias to be edited on edit server page --- .../RelationManagers/AllocationsRelationManager.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Filament/Resources/ServerResource/RelationManagers/AllocationsRelationManager.php b/app/Filament/Resources/ServerResource/RelationManagers/AllocationsRelationManager.php index f0d6e8c59..58d13594b 100644 --- a/app/Filament/Resources/ServerResource/RelationManagers/AllocationsRelationManager.php +++ b/app/Filament/Resources/ServerResource/RelationManagers/AllocationsRelationManager.php @@ -31,7 +31,7 @@ class AllocationsRelationManager extends RelationManager // ->actions // ->groups ->columns([ - Tables\Columns\TextColumn::make('ip_alias')->label('Alias'), + Tables\Columns\TextInputColumn::make('ip_alias')->label('Alias'), Tables\Columns\TextColumn::make('ip')->label('IP'), Tables\Columns\TextColumn::make('port')->label('Port'), Tables\Columns\IconColumn::make('primary') @@ -56,8 +56,8 @@ class AllocationsRelationManager extends RelationManager ->label(fn (Allocation $allocation) => $allocation->id === $this->getOwnerRecord()->allocation_id ? '' : 'Make Primary'), ]) ->headerActions([ - Tables\Actions\CreateAction::make()->label('Create Allocation'), - //Tables\Actions\AssociateAction::make()->label('Add Allocation'), + //TODO Tables\Actions\CreateAction::make()->label('Create Allocation'), + //TODO Tables\Actions\AssociateAction::make()->label('Add Allocation'), ]) ->bulkActions([ Tables\Actions\BulkActionGroup::make([