Switch.tsx
1.43 KB
-
Fix: Bring back styles on Switch components when checked · 6b2c81bc
Fixed bug introduced by replacing native input with @grafana/ui/Input component. Switch's styling relies on native input checked attribute used in adjacent sibling selector. Because React based Input is wrapped in div, there was no chance for styling to work
Dominik Prokop committed