bassjobsen / typeahead.js-bootstrap-css

LESS / CSS code for using typeahead.js with Bootstrap 3
MIT License
192 stars 127 forks source link

Doesn't play well with form controls and input group addons #23

Closed yanickrochon closed 8 years ago

yanickrochon commented 8 years ago

I have seen this issue being addressed (and resolved?), but it doesn't seem to work for me.

I'm using this widget with Bootstrap 3.3.5 and my form is horizontal. Given this markup

selection_066

once initialized, it produced a duplicate of the INPUT field (note: the addon's hidden class is removed once a value is set to it, from client-side JS)

selection_064

But regardless, I get this superb layout!

selection_065

I will try to find a solution myself, but thought to mark this as an issue, first. Just in case someone might have an answer before I do.

yanickrochon commented 8 years ago

My bad, I didn't include the original elements inside an input-group container. Tough week...