Problem/Motivation
After moving from Drupal 8.9 to 9.2.2, the 'form-item' class disappeared from the details type fields.
This class was being used to style these detail fields. Backward compatibility with the Drupal 8 version of the module should be maintained. And not make the user have to put styles again for the filters.
Steps to reproduce
1. Install Drupal 9.2.2
2. Download better_exposed_filters 5.0-beta3
3. Create a view and add some filters.
4. Set the style of the exposed form to better_exposed_filters
5. In any filter mark the option 'Make filter options collapsible'
6. Save and go to the url of the view.
7. Inspect the details element and see that it no longer has the class 'form-item'
Proposed resolution
Keep this class that was in the versions of previous modules for the details fields. This ensures that styles do not need to be modified.
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | add-class-form-item-for-details-3225972-1.patch | 640 bytes | yovanny.gomez.oyola |
Comments
Comment #2
yovanny.gomez.oyola commentedThe next patch fixes the problem.
Comment #5
neslee canil pinto