Add a state formatter CSS-Class on bef-toggle (Checkboxes select all/none)

Created on 7 July 2023, over 1 year ago
Updated 25 April 2024, 8 months ago

Problem/Motivation

Currently we have this:
<a class="bef-toggle" href="#">Select all</a>

When clicked, the text changes, but there is no indicator for CSS, to style this link differently on this state.

Steps to reproduce

Proposed resolution

Initially the classes should be something like: "bef-toggle bef-toggle--select-all"

When switching the text, the classes should be "bef-toggle bef-toggle--deselect-all" (vice versa, if clicked again)

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Fixed

Version

6.0

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024