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

Comments

yovanny.gomez.oyola created an issue. See original summary.

yovanny.gomez.oyola’s picture

The next patch fixes the problem.

neslee canil pinto’s picture

Version: 8.x-5.0-beta3 » 8.x-5.x-dev
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.