-
-
Notifications
You must be signed in to change notification settings - Fork 78.8k
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
Add docs about input-group and dropdowns #30913
Comments
.input-group-append
s. I mentioned about this usage in #25075, but it isn't described in the documents.
@MartijnCuppens @ffoodd feel free to close this if it's not valid anymore |
Not valid anymore indeed: https://v5.getbootstrap.com/docs/5.0/forms/input-group/#segmented-buttons |
@MartijnCuppens does it still happen on v4? The issue is about v4. |
Didn't check that indeed. |
Sometimes I hate our input group lol. Updated the demo from the opening comment and there are issues with both append and prepend. https://codepen.io/emdeoh/pen/gOwBxzN |
If you want to use a dropdown on the button that isn't at the last element of the input group, you can do it by using multiple
.input-group-append
s. I mentioned about this usage in #25075, but it isn't described in the documents.Demo: https://codepen.io/anon/pen/wNJWeL
Why need multiple
.input-group-append
? A.dropdown-menu
must be the last child of the wrapper (.dropdown
,.btn-group
or an element hasposition: relative
). This mean the following code is incorrect:So, you should use multiple
.input-group-append
s:Originally posted by @ysds in #28150 (comment)
The text was updated successfully, but these errors were encountered: