[Feature Request] Set colors for true and false for the switch element #7284
Labels
C: Selection controls
T: enhancement
Functionality that enhances existing features
T: feature
A new feature
Milestone
Problem to solve
Currently it is possible to set a color for switches when they return a true value. When they return false, their color is white.
It would be possible to have a green color for true and a red color for false.
Proposed solution
Currently you can solve the problem with some custom CSS
https://codepen.io/DutchmanSA/pen/rgdzBq
but it would be nice to have two color properties like
activeColor="success"
inActiveColor="error"
The text was updated successfully, but these errors were encountered: