Disable this if there’s no egg

This commit is contained in:
Lance Pioch 2024-06-02 16:58:21 -04:00
parent 71684dc517
commit 2e7c534a3b

View File

@ -286,6 +286,7 @@ class CreateServer extends CreateRecord
->label('Startup Command') ->label('Startup Command')
->required() ->required()
->live() ->live()
->disabled(fn (Forms\Get $get) => $this->egg === null)
->columnSpan([ ->columnSpan([
'default' => 2, 'default' => 2,
'sm' => 4, 'sm' => 4,