Collapsible details element for Week field widget lost after updating to 8.x-1.18

Created on 11 December 2024, 26 days ago

Problem/Motivation

In ✨ Exclude season & exceptions from weekly display Fixed , the field widget was refactored so it could be better decoupled from the field API and used as a standalone form element.

The "Office hours (week)" field widget used to display the table in a details element with the field label. Now, it's lost. The field label isn't shown anywhere.

Before:

After:

Was this change intentional? The details element was helpful. It provided the form field label, and allowed users to collapse it. In fact, we collapsed it by default using a form alter on our sites, because most of the time the hours are not needed and the table takes up a lot of space.

Note that the "Office hours (week) with exceptions and seasons" widget is displayed correctly with the details element still, but we weren't using that and I think have no reason to as our field was not configured to allow exceptions and seasons.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

1.0

Component

Code - widget

Created by

πŸ‡ΊπŸ‡ΈUnited States bkosborne New Jersey, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024