I have been spending the past few days in what I thought was a very simple task: Have an autocomplete feature for a search bar in Bootstrap 3. What I am trying to achieve is to integrate it into the Bootstrap 3 design without breaking the layout.
I have looked into ways to use both twitter-typeahead.js and bootstrap3-typeahead..
Part of the difficulty may be that I wanted to have a large searchbox as part of the 'navbar-fixed' element, I used this solution / workaround:
https://stackoverflow.com/questions/18552714/bootstrap-3-how-to-maximize-input-width-inside-navbar
The challenge that I have is that whenever I include the typeahead class, the style of the seach bar changes back to a different css style, breaking the layout. I then attempted the same using autocomplete.js.
The actual level of autocomplete functionality is very trivial at this point, I only want to match the exact string so I do not care about the exact implementation - my only requirement is: (1) Typeahead/autocomplete and (2) Keep the wide search bar in a Bootstrap navbar searchbar
Anyone has an idea how to achieve this?