You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 19, 2024. It is now read-only.
I want to be able to use the paper-toggle-button to show the status of an item (which could be active or inactive) but without the user being able to change it.
To prevent modifications I've set the element's disabled attribute but that changes the color of the bar and button so it no longer looks to be "on". From looking at the code, unlike all the other modes, there doesn't seem to be a CSS option to change the "disabled" color.
Expected outcome
Ideally it would be possible to put the toggle button into a "read-only mode" where it rejects attempts to modify it. Less ideally we would be able to set the color for "on but disabled" and "off but disabled" using CSS
Actual outcome
"disabled mode" always looks the same without the ability to customize.