sdxmessaging / ui-widgets

Build powerful form inputs/outputs with mithril and streams.
MIT License
4 stars 1 forks source link

Rework Toggle Control #128

Closed MichaelPastuch closed 1 year ago

MichaelPastuch commented 1 year ago

The current toggle control can be created with a custom themed checkbox input. Rework the toggle input to a richer, animated control.

MichaelPastuch commented 1 year ago

The toggle control has been reworked, but I've dropped support for configurable order of label, "widget" on conditional on/off labels (as used by radio and checkbox widgets).

The toggle label is currently fixed to the right side of the control, do we want to consider supporting a label above the toggle as per CCA UI designs?