Set minValue

Closes #397
This commit is contained in:
Charles 2024-06-15 12:33:33 -04:00
parent 8ee5d6aabd
commit fe4e6271fb

View File

@ -381,14 +381,17 @@ class EditServer extends EditRecord
Forms\Components\TextInput::make('allocation_limit') Forms\Components\TextInput::make('allocation_limit')
->suffixIcon('tabler-network') ->suffixIcon('tabler-network')
->required() ->required()
->minValue(0)
->numeric(), ->numeric(),
Forms\Components\TextInput::make('database_limit') Forms\Components\TextInput::make('database_limit')
->suffixIcon('tabler-database') ->suffixIcon('tabler-database')
->required() ->required()
->minValue(0)
->numeric(), ->numeric(),
Forms\Components\TextInput::make('backup_limit') Forms\Components\TextInput::make('backup_limit')
->suffixIcon('tabler-copy-check') ->suffixIcon('tabler-copy-check')
->required() ->required()
->minValue(0)
->numeric(), ->numeric(),
]), ]),
Forms\Components\Fieldset::make('Docker Settings') Forms\Components\Fieldset::make('Docker Settings')