"show_empty" does not work in Layout Builder

Created on 11 June 2024, 5 months ago
Updated 21 June 2024, 5 months ago

Problem/Motivation

When show_empty is enabled, and the field is both empty and is being render in Layout Builder, the field never displays. I haven't been able to determine if this is an issue with Layout Builder, or can be resolved in the Office Hours code base.

Steps to reproduce

  1. Create an entity with an Office Hours field.
  2. Set up the entity's display settings is set to use Layout Builder
  3. Add the hours field to the layout.
  4. Set show_empty to TRUE.

Proposed resolution

Ideally, the field would still render just with every day marked as closed, like when the field isn't in Layout Builder.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Postponed: needs info

Version

1.0

Component

Code - formatter

Created by

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

Comments & Activities

Production build 0.71.5 2024