From 9097ebe8ec2fc3f23dae37687b0fab6232aad723 Mon Sep 17 00:00:00 2001 From: Yoga Pangestu Date: Tue, 31 Mar 2026 15:18:14 +0700 Subject: [PATCH] feat: Update username maxLength validation in registration form from 20 to 10 characters for improved user input constraints. --- app/Filament/Pages/Auth/Registration.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Filament/Pages/Auth/Registration.php b/app/Filament/Pages/Auth/Registration.php index e857468..8f7b12b 100644 --- a/app/Filament/Pages/Auth/Registration.php +++ b/app/Filament/Pages/Auth/Registration.php @@ -56,7 +56,7 @@ public function form(Schema $schema): Schema ->autocomplete(false) ->required() ->minLength(5) - ->maxLength(20) + ->maxLength(10) ->regex('/^[a-zA-Z0-9_.-]+$/') ->unique('users', 'username') ->prefixIcon('heroicon-o-at-symbol'),