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

Created on 4 July 2023, 12 months ago
Updated 18 July 2023, 11 months 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.69.0 2024