-
Notifications
You must be signed in to change notification settings - Fork 79
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
Form message class issue #469
Comments
I found that the following line is causing the issue: Is |
It's a hold over from when we had the Antimatter theme that did use the success class. Really this is why it's not good to have any CSS reliance on themes. The current implementation of the form plugin has a fair bit of backward-compatibility complexity. I can't improve things too much because it has the potential of breaking currently installed sites that assume the form functionality (and templates) are going to be compatible when updated. This is something I plan on revamping completely in Form2 plugin. |
Alright, so you would not fix the code but rather the theme? I can prepare a quark pull request, if you wish. |
The code cannot be changed as it breaks existing sites which all assume the current behavior. The fix needs to be in the theme. |
When adding a form message there is an issue with its scope vs type. The message is shown in black instead of green:
This is my messages.html.twig:
For "normal" messages added via plugin this works fine. The correct html would be
<div class="toast toast-success">
(without space). This is NOT a whitespace issue, for some reason type and scope seem to be switched.Edit: It is possible that this is a quark theme template issue. Maybe
success
is a valid scope, but quark does not implement it. Also the icons are broken by the way...The text was updated successfully, but these errors were encountered: