diff --git a/src/Rules/Handle.php b/src/Rules/Handle.php index 29b7fdd96c..fa967c2637 100644 --- a/src/Rules/Handle.php +++ b/src/Rules/Handle.php @@ -12,6 +12,8 @@ public function validate(string $attribute, mixed $value, Closure $fail): void { if (Str::startsWith($value, range(0, 9))) { $fail('statamic::validation.handle_starts_with_number')->translate(); + + return; } if (! preg_match('/^[a-zA-Z][a-zA-Z0-9]*(?:_{0,1}[a-zA-Z0-9])*$/', $value)) {