Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    canToggle and ToggleSwitch

    Hello, for a ListGridField with canToggle:true, is it possibile, to use the ToggleSwitch instead of the checkbox? Before implementing a recordComponent I want to check with you if there's some shortcut already available.

    #2
    hi Claudio, excuse the delay in responding here.

    Right now, it's not possible to use ToggleSwitch instead of Checkbox in this way without recordComponents.

    You could use custom images that look like toggles and apply them to LG.booleanTrue/False/PartialImage.

    If this is an important feature for you, we could consider implementing it in the framework as a Feature Sponsorship.

    Comment


      #3
      Hello, thanks for the clarification. Actually, I ended up implementing the recordComponent, only to realize that in my particular case, the ToggleSwitch didn't quite convince me from a UX perspective. So, I used booleanTrue/False/PartialImage, which, with the right SVG icons, provides an excellent result.

      Comment

      Working...
      X