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

Fix 435: Display general errors of the form #436

Closed
wants to merge 3 commits into from

Conversation

thomasbeaujean
Copy link
Contributor

Use case:

I create an entity that has a one to many relationship.
I have an Assert\Min one this relationship.

When I validate the form, it is not valid but the error is not displayed.

@Pierstoval
Copy link
Contributor

Actually the errors should be shown depending on the property, in your case.

But anyway, you're right: showing ALL errors is very important 👍

@thomasbeaujean
Copy link
Contributor Author

@Pierstoval I agree that the error should be attached to the property, I will investigate later on this problem.

@javiereguiluz
Copy link
Collaborator

@thomasbeaujean thanks for providing this bug fix. I've created in #437 a new PR to add a commit that tweaks the HTML of the form errors. I've reused all your original commits, so you'll get full credit for your work. Thanks!

javiereguiluz added a commit that referenced this pull request Sep 7, 2015
This PR was merged into the master branch.

Discussion
----------

Display the global form errors

This finishes #436.

Commits
-------

e058b8f Tweaked the HTML of the global form errors
aaeeb17 The error div must not be display if there is no error
6e5adff Display the general form errors
57a2b77 Merge pull request #5 from javiereguiluz/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants