Skip to content
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

input-group-btn addon button with typeahead #847

Closed
alexweissman opened this issue May 11, 2014 · 4 comments
Closed

input-group-btn addon button with typeahead #847

alexweissman opened this issue May 11, 2014 · 4 comments

Comments

@alexweissman
Copy link

Is there an easy way to create an addon button for typeahead as in http://getbootstrap.com/components/#input-groups-buttons ?

I tried just using the input-group-btn inside an input-group along with the typeahead, but this doesn't seem to work as typeahead transforms the input field into a number of other fields.

@jharding
Copy link
Contributor

jharding commented Jul 9, 2014

I'm not aware of anything. If you stumble upon a good solution, do share 😄

@jharding jharding closed this as completed Jul 9, 2014
@alexweissman
Copy link
Author

I just ended up putting my button in a column next to my typeahead. But, support for addon buttons would be greatly appreciated.

@dragonfly4
Copy link

This used to work with Bootstrap 3.0, it's broken since v3.2 because the input-group-btn is positioned about 5px lower after typeahead is initiated. Can be fixed in Chrome by adding [style="float: none;"] to the input field but this doesn't work in IE. I'll keep looking for a solution :( :p

@alsciende
Copy link

This issue is not resolved. Since this module is specifically targetted at Bootstrap, it would be nice if it could detect the presence of a .input-group around the input and plan accordingly, so that the altered markup doesn't invalidate Bootstrap's css. Would you accept a PR in that direction?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants