Fields with attribute "inline" not displayed inline

Created on 30 May 2024, 6 months ago
Updated 15 June 2024, 5 months ago

Problem/Motivation

We have a couple of fields with the Display field attribute "inline", but the values are not displayed inline (behind the field label), but in a new row below it. However, for other fields with the attribute "inline" the display is correct.

For fields that are fine, the html looks like this:

<div class="field field-node--field-bonus-material field-formatter-boolean field-name-field-bonus-material field-type-boolean field-label-inline clearfix has-single"><h3 class="field__label">FIELD LABEL</h3><div class="field__items"><div class="field__item">inaktiv</div></div>
</div>

For fields that do NOT display correctly it looks like this:

<div class="field-label-inline">FIELD LABEL</div>
No

Steps to reproduce

I changed the Boolean value options for a field from "active/inactive" to "yes/no". Before the change, the display was correct (inline), after the change it was wrong (value in new line).

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: won't fix

Version

3.22

Component

Code

Created by

🇩🇪Germany Publishing Future Ammerbuch

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

Comments & Activities

Production build 0.71.5 2024