-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
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
Change button checkbox/radios to ignore hidden input fields #27802
Conversation
NB: I wasn't sure if I was supposed to do |
Why not just exclude |
@XhmikosR, we could. It's just a matter of preference. I'm happy to change if desired. |
@XhmikosR, oh. I'm sorry. I was on mobile and for some reason it didn't show the "Member" tag. I'll go and change it. |
Oh. I left it because I wasn't sure if it was used elsewhere and forgot to check. I'll remove. Just pushed the change in the attribute selector. |
Allows for HTML like: ```html <div class="btn-group-toggle" data-toggle="buttons"> <label class="btn btn-info"> <input name="checkbox" type="hidden" value="0"> <input id="cb" name="checkbox" type="checkbox" value="1" autocomplete="off"> Click Me </label> </div> ``` Fixes #27795
Done |
Allows for HTML like:
Fixes #27795