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
Hello,
as in the topic - messages in elements are not filled after form validation.
Short example:
class Element { public function render() { return $this->hasMessages() ? "yes" : "no"; } } $form = isValid($_POST); // assuming that error occurs echo $form->get("elementName")->render() // echo "no"; echo $form->hasMessagesFor("elementName") ? "yes" : "no"; //echo"yes";
Expected behaviour: after isValid() called on $form, all messages related to elements in that form will be setted also in element.
The text was updated successfully, but these errors were encountered:
Fixed in the 3.0.x branch. Thanks you
3.0.x
Sorry, something went wrong.
sergeyklay
No branches or pull requests
Hello,
as in the topic - messages in elements are not filled after form validation.
Short example:
Expected behaviour: after isValid() called on $form, all messages related to elements in that form will be setted also in element.
Details
The text was updated successfully, but these errors were encountered: