Single checkbox is not displayed as toggle in draggable form element.

Created on 4 July 2023, over 1 year ago
Updated 18 July 2023, over 1 year ago

Problem/Motivation

We are using a custom field widget that adds a single checkbox to the link field widget.
Unfortunately the checkbox is not displayed as a toggle, when the user adds a new entry (field is multivalue) the checkbox in the new element is displayed as a toggle.

Reason for that is, that the new element has a wrapper div inside and the of element sits in a td element. In the _form.scss I saw this selector that should be the reason for this behavior:

:not(.glb-form-checkboxes):not(td):not(.media-library-item__click-to-select-checkbox):not(.field-content) > .glb-form-type--checkbox

Screenshot to show the problem:

🐛 Bug report
Status

Needs work

Version

1.0

Component

User interface

Created by

🇩🇪Germany Atropoides Hamburg

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

Comments & Activities

Production build 0.71.5 2024