Topic: Validated switches look odd
Expected behavior
When performing validation and is-valid
or is-invalid
classes are applied, switch colors should be consistent. The knob color should be the darker tint of the success or danger color.
Actual behavior
Only the "track" color is changed to reflect the is-valid
or is-invalid
state, while the knob color is unchanged.
Resources (screenshots, code snippets etc.)
Switches: https://mdbootstrap.com/snippets/standard/kayem79/3204137
In contrast, Checkboxes which look OK: https://mdbootstrap.com/snippets/standard/kayem79/3204143
Michał Duszak staff answered 3 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 3.9.0
- Device: PC
- Browser: Chrome
- OS: Windows
- Provided sample code: No
- Provided link: Yes