From ca4b91c51f72096582d193b33ba6a4b4e1d4c4b1 Mon Sep 17 00:00:00 2001 From: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com> Date: Thu, 14 Nov 2024 17:48:14 +0100 Subject: [PATCH] Update ByIp.php --- app/Livewire/Server/New/ByIp.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Livewire/Server/New/ByIp.php b/app/Livewire/Server/New/ByIp.php index 20736160d..5f60c5db5 100644 --- a/app/Livewire/Server/New/ByIp.php +++ b/app/Livewire/Server/New/ByIp.php @@ -21,7 +21,7 @@ class ByIp extends Component #[Validate('nullable|integer', as: 'Private Key')] public ?int $private_key_id = null; - #[Validate('nullable|string|max:255', as: 'Private Key Name')] + #[Validate('nullable|string', as: 'Private Key Name')] public $new_private_key_name; #[Validate('nullable|string', as: 'Private Key Description')] @@ -30,16 +30,16 @@ class ByIp extends Component #[Validate('nullable|string', as: 'Private Key Value')] public $new_private_key_value; - #[Validate('required|string|max:255', as: 'Name')] + #[Validate('required|string', as: 'Name')] public string $name; - #[Validate('nullable|string|max:255', as: 'Description')] + #[Validate('nullable|string', as: 'Description')] public ?string $description = null; #[Validate('required|string', as: 'IP Address/Domain')] public string $ip; - #[Validate('required|string|max:255', as: 'User')] + #[Validate('required|string', as: 'User')] public string $user = 'root'; #[Validate('required|integer|between:1,65535', as: 'Port')]