-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
fieldset disabled styles #1682
fieldset disabled styles #1682
Conversation
👍 |
Some further explanation to the pull request in hope to get it merged. Example markup:
Current behaviour:
Proposed change:This pull request scaffolds the Bulma pre-existing disabled styles for inputs and buttons for when a surrounding Tested with modifiers such as Reasoning:Disabling inputs on a fieldset level is handy for multi-step forms, and reactive view frameworks. Caveats:The Alternatives:All of this could be alternatively be managed with a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like it!
Can you:
- not build the CSS file
- update the Changelog
- add some documentation
Thanks.
Also it may be better to modify disabled style of pagination.sass also. |
# Conflicts: # css/bulma.css # css/bulma.css.map
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You forgot the comma on the previous line in each selector.
Thanks, I just caught that too... pushing down a fix and also resetting the fieldset element. As for adding to the documentation, would you prefer a snippet example in the /forms/general page? Or a small snippet under each "Disabled" section on each form element page? |
Both! Since users might be reading one page or the other, but not both. On the general page you can add a section called “Disabled forms” where you put a whole form. On the other pages, just put a link to this new section (with an anchor) with the phrase “You can also disable an input/button/select… by placing it within a disabled form”. Something like that. Also try to put it behind a flag (search for “vernum” in the docs). If that’s too much, just put something here, I’ll take care of the rest. Oh and update the change log please. Thanks! 👍 |
@samburgers do you plan to revisit and update this? |
Thanks for the bump, will revis this weekend! |
Adds disabled styles for
<fieldset disabled>