From 1f5217a9d95d6c8ce3281f7f920d96ce98e9869e Mon Sep 17 00:00:00 2001 From: notCharles Date: Sun, 12 May 2024 16:16:13 -0400 Subject: [PATCH] Add Egg ID to page --- app/Filament/Resources/EggResource/Pages/EditEgg.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/Filament/Resources/EggResource/Pages/EditEgg.php b/app/Filament/Resources/EggResource/Pages/EditEgg.php index a058c761a..c33c516e0 100644 --- a/app/Filament/Resources/EggResource/Pages/EditEgg.php +++ b/app/Filament/Resources/EggResource/Pages/EditEgg.php @@ -25,12 +25,16 @@ class EditEgg extends EditRecord Forms\Components\TextInput::make('name') ->required() ->maxLength(191) - ->columnSpan(['default' => 1, 'sm' => 1, 'md' => 2, 'lg' => 2]) + ->columnSpan(['default' => 1, 'sm' => 1, 'md' => 1, 'lg' => 1]) ->helperText('A simple, human-readable name to use as an identifier for this Egg.'), Forms\Components\TextInput::make('uuid') + ->label('Egg UUID') ->disabled() ->columnSpan(['default' => 1, 'sm' => 1, 'md' => 2, 'lg' => 2]) ->helperText('This is the globally unique identifier for this Egg which Wings uses as an identifier.'), + Forms\Components\TextInput::make('id') + ->label('Egg ID') + ->disabled(), Forms\Components\Textarea::make('description') ->rows(3) ->columnSpan(['default' => 1, 'sm' => 1, 'md' => 2, 'lg' => 2])