- ๐ฎ๐ชIreland markconroy
Hi @Gauravvv
The issue summary says the "twig file needs to be refacored", but this patch only contains CSS changes and removing the todo from the twig file doc block.
Is there any refactoring of the actual twig file needed?
- ๐ฎ๐ณIndia gauravvvv Delhi, India
The issue summary says the "twig file needs to be refacored", but this patch only contains CSS changes and removing the todo from the twig file doc block.
@markconroy As https://www.drupal.org/node/3010558 โ is fixed.
So I have removed the todo comment from the twig file. And added the required CSS on
form-item__error-message
class. As suggested in parent issue. - ๐ฎ๐ชIreland markconroy
Thanks @Gauravvv
Adding
bold
to the CSS for errors, means that the full error message will be bold. Is that the desired outcome? Or do we want only items with astrong
tag in the error message to be bold? - ๐ฎ๐ณIndia gauravvvv Delhi, India
Adding bold to the CSS for errors, means that the full error message will be bold. Is that the desired outcome? Or do we want only items with a strong tag in the error message to be bold?
Yes @markconroy, Same we have done in the parent issue 3010558: Unnecessary element in Umami's form-element template may produce invalid markup โ .
<strong>
may produce invalid markup. To avoid that we're addingbold
to the CSS for errors. - ๐ฎ๐ชIreland markconroy
<strong>
may produce invalid markup. To avoid that we're adding bold to the CSS for errors.Yes, but do we want the FULL error message to be in bold? If the error message is:
The following fields must be filled in: title, email, and phone number.
How can we show bold to only the words "title", "email", and "phone" if we have the full message set to use "bold".
If that's the desired result, then we can mark this RTBC.
- Status changed to Needs work
almost 2 years ago 6:06pm 18 February 2023 - ๐บ๐ธUnited States smustgrave
Think since the .css file has changed that before/after screenshots should be added to the issue summary to show nothing broke.
- ๐ฎ๐ณIndia pradipmodh13 Ahmedabad
Hello @smustgrave,
Can you please share steps to check this error message.
It will easy for me to share screenshot with After and before. - ๐ฎ๐ณIndia mithun s Bangalore
Mithun S โ made their first commit to this issueโs fork.
- ๐ฎ๐ณIndia mithun s Bangalore
Observed that all the strong tags in the files are removed, the css of bold for the error message is missing for 11.x. Added the required css and raised a new PR against 11.x branch. Please review.
- Status changed to Needs review
10 months ago 10:59am 8 March 2024 - Status changed to Needs work
10 months ago 1:22pm 8 March 2024