-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to disable Settings #8
Comments
I think I understand your use case, for now you'll have to manually disable the control elements, and possibly add some styles to the entire line to be more explicit. One thing I'd like to note is that |
That's kinda what I ended up doing. However because of the way inputs are set up (the toggle specifically) there is no way to actually disable, remove or block the click handler. The best I could come up with is adding the css: Hopefully we can get something like this in the future! |
Ah I see what you mean. That's definitely a problem. |
|
@lishid Oh awesome! Thanks for adding that! |
It would be great to be able to disable specific settings. For example if two toggle settings are "linked" so that the second only applies if the first is enabled. It would be great to be able to show both settings so the user understands that they both exist but have the second disabled (visually and functionally) so they can't click it without enabling the other one first.
I'm picturing something like this:
The text was updated successfully, but these errors were encountered: