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
File https://github.com/formers/former/blob/master/src/Former/Former.php#L306 Around line 306
Variable $parameters is set inside an "if" but is not set in the next loop.
The HTML5 validation seems to work besides this. But when i use getRules() i get wrong rules.
To reproduce it use
$form->rules(['age' => 'min:18', 'name' => 'required'])
Then call \Former::getRules('name') and you will get
array(1) { ["required"]=> array(1) { [0]=> string(2) "18" } }
The text was updated successfully, but these errors were encountered:
Oops. Nice catch.
Sorry, something went wrong.
2fb11a7
No branches or pull requests
File https://github.com/formers/former/blob/master/src/Former/Former.php#L306
Around line 306
Variable $parameters is set inside an "if" but is not set in the next loop.
The HTML5 validation seems to work besides this. But when i use getRules() i get wrong rules.
To reproduce it use
Then call \Former::getRules('name') and you will get
The text was updated successfully, but these errors were encountered: