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

Created on 4 July 2023, 12 months ago
Updated 10 May 2024, about 1 month 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(.form-checkboxes):not(td):not(.media-library-item__click-to-select-checkbox):not(.field-content) > .form-type--checkbox

Screenshot to show the problem:

🐛 Bug report
Status

Closed: outdated

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