A simple PCF control to render a two option field as a colourful slider. This is an updated version of the OOTB flip switch, with better use of the available space and correct vertical alignment.
The colour slider uses the following CDS attribute properties to render the control (image below):
- The List Value Label is displayed against the corresponding true/false value
- The Colour defined against the list value is used as the background colour when the respective value is selected
For covienence, the releases folder contains a generated solution file