I have a Navbar on which I am trying to add a places search box. Everything almost works except that a small part of the google places hint box is being overlapped by the navbar (as shown in the image below).
I have tried to change the z-index
of the input box to 10 or 2000 or 90000 but it does not seem to have an effect.
Is there something else that needs to be done that I am missing?
Here is the html:
<form class="navbar-form" role="search">
<div class="col-sm-2">
<div class="form-group has-feedback no-margin">
<input aria-label="Place" type="text" class="form-control text-center" id="searchPlace" placeholder="Place" style="z-index:90000">
<i class="map-pin-icon form-control-feedback"></i>
</div>
</div>
</form>