- Issue created by @doidd
- Status changed to Postponed: needs info
3 months ago 10:15am 18 June 2024 - Status changed to Active
3 months ago 2:08pm 18 June 2024 - πΊπΈUnited States cilefen
Is this something that should be fixed in Gin theme?
- πΊπΈUnited States cilefen
On π Incorrect display of message when validating uploaded files using Gin Admin Theme Closed: works as designed people say that IMCE is required to reproduce this, but your steps to reproduce seem to refute that. Is IMCE required to reproduce?
- πΊπΈUnited States cilefen
I can reproduce it, and it doesn't need IMCE. Is there something Gin theme could do to fix this?
- π»π³Vietnam doidd
The Gin message template (https://git.drupalcode.org/project/gin/-/blame/8.x-3.x/templates/misc/st...) includes a button tag:
<button type="button" class="button button--dismiss js-message-button-hide" title="{{ 'Hide'|t }}"> <span class="icon-close"></span> {{ 'Hide'|t }} </button>
The message is intended to be displayed within the $form['#prefix'] property. However, this property does not allow the display of button tags. Therefore, the message is validated and displayed without the button tag.
- πΊπΈUnited States cilefen
Essentially, Gin theme wants to make this form validation message dismissible whereas core themes like Claro do not, which is why we don't see this problem with Claro.