Boostrap Toogle on View display page (Formatter)

Created on 11 January 2022, almost 3 years ago
Updated 12 January 2024, 10 months ago

Hello and thanks the boostrap Toogle module.

Problem/Motivation

I was quite upset on installing this module : It provides a greate widget on editing pages but does not provide toogle visualization on view pages. IMHO the big advantage of a toogle is to quicly see the status of the checkbox.

Steps to reproduce

The toogle that appears on the entity edit page does not appears on the entity view page.

Proposed resolution

A bootstrap toogle formatter

Remaining tasks

Review, patch provided. It works for me.

User interface changes

Add a new formatter (always "Bootrap toogle") for boolean fields on the entity view display page, with the same options than the widget.

API changes

Nothing.

Data model changes

Nothing.

Note : this may (or may not) breaks the quick edit module on the boolean fields using the boostrap toogle formatter. I didn't test it.

Feature request
Status

Fixed

Version

2.0

Component

User interface

Created by

🇫🇷France thedut

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024