JSFiddle - React, Tailwind, and code Playground
by bizamajig
HTML
<div class="container">
<div class="col-lg-6">
<div class="input-group">
<span class="input-group-addon">Label 1</span>
<input type="text" class="form-control" name="snpid" placeholder="Test" />
<span class="input-group-addon">Label 1.2</span>
<span class="input-group-btn">
<button class="btn btn-default" type="submit">GO!</button>
</span>
</div>
</div>
</div>
<br />
<br />
<div class="container">
<div class="col-lg-6">
<div class="input-group">
<span class="input-group-addon">Label 1</span>
<select id="lunch" class="selectpicker form-control" data-live-search="true" title="Please select a lunch ...">
<option>Hot Dog, Fries and a Soda</option>
<option>Burger, Shake and a Smile</option>
<option>Sugar, Spice and all things nice</option>
<option>Baby Back Ribs</option>
<option>A really really long option made to illustrate an issue with the live search in an inline form</option>
</select>
<span class="input-group-addon">Label 1.2</span>
<!--
<span class="input-group-btn">
<button class="btn btn-default" type="submit">GO!</button>
</span>
-->
</div>
</div>
</div>
<br />
<br />
<div class="container">
<form class="form-inline">
<div class="input-group">
<span class="input-group-addon">Label 2</span>
<select id="lunch" class="selectpicker form-control" data-live-search="true" title="Please select a lunch ...">
<option>Hot Dog, Fries and a Soda</option>
<option>Burger, Shake and a Smile</option>
<option>Sugar, Spice and all things nice</option>
<option>Baby Back Ribs</option>
<option>A really really long option made to illustrate an issue with the live search in an inline form</option>
</select>
</div>
</form>
<div>