We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug Hi, the MinValueRule is not working as expceted, since it's checking for <= instead of <
Steps To Reproduce The field
MoneyInput::make('budget') ->minValue(2500);
results in Error: The Budget must be at least 25.00.
Screenshots
Additional context MinValueRule.php - line 28: if ($minorValue <= $this->min) { needs to be: if ($minorValue < $this->min) {
The text was updated successfully, but these errors were encountered:
Pull request created here: #47
Sorry, something went wrong.
Fixed in version 1.4.0
1.4.0
No branches or pull requests
Describe the bug
Hi, the MinValueRule is not working as expceted, since it's checking for <= instead of <
Steps To Reproduce
The field
MoneyInput::make('budget')
->minValue(2500);
results in Error:
The Budget must be at least 25.00.
Screenshots
Additional context
MinValueRule.php - line 28:
if ($minorValue <= $this->min) {
needs to be:
if ($minorValue < $this->min) {
The text was updated successfully, but these errors were encountered: