Skip to content
New issue

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

min and max condition not working correctly for integer #29

Closed
ajithmohan opened this issue Jun 24, 2015 · 1 comment
Closed

min and max condition not working correctly for integer #29

ajithmohan opened this issue Jun 24, 2015 · 1 comment
Labels
Milestone

Comments

@ajithmohan
Copy link

public function rules()
{
    return [
        'name' => 'required|min:2|max:1000',
        'base_occupancy' => 'required|integer|min:0|max:100',
        'max_occupancy' => 'required|integer|min:0|max:100'
    ];
}

even if i give values between 0&100, its showing error

@torrentalle
Copy link
Member

This bug is fixed in master branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants