diff --git a/src/Forms/Rules/MaxValueRule.php b/src/Forms/Rules/MaxValueRule.php index 1c85635..48aafe5 100644 --- a/src/Forms/Rules/MaxValueRule.php +++ b/src/Forms/Rules/MaxValueRule.php @@ -27,7 +27,7 @@ public function validate(string $attribute, mixed $value, Closure $fail): void $locale ); - if ($minorValue >= $this->max) { + if ($minorValue > $this->max) { $fail( strtr( 'The {attribute} must be less than or equal to {value}.',