From f4c3c89c1781846b675f2caf26b3eb23bca67759 Mon Sep 17 00:00:00 2001 From: Charles Date: Sat, 15 Jun 2024 12:36:15 -0400 Subject: [PATCH] Also add that here Prevent 500's on server create --- app/Filament/Resources/ServerResource/Pages/CreateServer.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/Filament/Resources/ServerResource/Pages/CreateServer.php b/app/Filament/Resources/ServerResource/Pages/CreateServer.php index 9d55bcaed..63ce48b32 100644 --- a/app/Filament/Resources/ServerResource/Pages/CreateServer.php +++ b/app/Filament/Resources/ServerResource/Pages/CreateServer.php @@ -655,18 +655,21 @@ class CreateServer extends CreateRecord ->suffixIcon('tabler-network') ->required() ->numeric() + ->minValue(0) ->default(0), Forms\Components\TextInput::make('database_limit') ->label('Databases') ->suffixIcon('tabler-database') ->required() ->numeric() + ->minValue(0) ->default(0), Forms\Components\TextInput::make('backup_limit') ->label('Backups') ->suffixIcon('tabler-copy-check') ->required() ->numeric() + ->minValue(0) ->default(0), ]), Forms\Components\Fieldset::make('Docker Settings')