Checkboxes are styled as toggles in .tabledrag-cell-content__item if content has wrapper

Created on 6 June 2024, 5 months ago
Updated 8 August 2024, 3 months ago

Problem/Motivation

There is a selector to prevent styling checkboxes in toggles within tabledrag cells. However, when using AJAX that adds a wrapper, it breaks.

This selector is broken if there is an AJAX wrapping div around the content containing a checkbox:

:not(.form-checkboxes):not(td):not(.tabledrag-cell-content__item):not(.media-library-item__click-to-select-checkbox):not(.field-content) > .form-type--checkbox .checkbox-toggle__inner

The problem seems to be the > selector in > .form-type--checkbox .checkbox-toggle__inner.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States mglaman WI, USA

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024