Problem/Motivation
The config form includes:
<details data-drupal-selector="edit-allowed-content-entities" aria-describedby="edit-allowed-content-entities--description" id="edit-allowed-content-entities" class="js-form-wrapper form-wrapper olivero-details" data-drupal-states="{"visible":{":input[name=\u0022active_on[content_entity_forms]\u0022]":{"checked":true}}}" data-once="details states" open="">
But the element with the id edit-allowed-content-entities--description doesn't exist.
Steps to reproduce
Enable the module, go to the config form in /admin/config/content/autosave_form
Inspect the code and search edit-allowed-content-entities--description
Proposed resolution
Add a description for that selector.
User interface changes
A new description is added.
API changes
NA
Data model changes
NA
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | Screenshot 2025-01-25 at 15.40.47.png | 504.19 KB | solimanharkas |
Comments
Comment #2
alvar0hurtad0Comment #3
solimanharkas commentedComment #4
solimanharkas commentedI've identified a bug in the Claro theme, as well as other core themes in Drupal. The
idattribute is missing in thedetails.html.twigtemplate, In the Claro theme at this location : https://git.drupalcode.org/project/claro/-/blob/8.x-2.x/templates/detail.... so the description is missing from all forms using this template, as demonstrated in the attached screenshot.Could you please confirm this issue, so I can proceed with creating a ticket for the Claro theme?
Comment #5
alvar0hurtad0You're totally right, let's close this issue and create one in the project that it's actually responsible.
Comment #6
solimanharkas commentedI created an issue in gin theme
https://www.drupal.org/project/gin/issues/3502250
Comment #8
avpadernoI corrected a typo in a used issue tag. I apologize for bumping this issue.