I use latest Bootstrap and I have multiple options with a select box. However, when you select 1 item, the whole thing closes, but I would like that you can multiple options and then the box closes. Is that possible to achieve?
Also, I have a search/autofill form that does not work. My idea was that when you enter "J", then automatically "Japan" would show up. Is that possible?
I prefer a Bootstrap internal solution if possible. jQuery only if there is no way to realise my ideas.
BOOTPLY here... BOOTPLY
Thanks.
<div class="btn-toolbar">
<!--Default buttons with dropdown menu-->
<div class="btn-group">
<button class="btn btn-default" type="button">Country</button>
<button class="btn btn-default dropdown-toggle" data-toggle="dropdown" type="button"><span class="caret"></span></button>
<div class="dropdown-menu scrollable-menu" style="margin-left: 2em">
<input class="form-control" placeholder="Search values"
type="text">
<div class="checkbox">
<label><input value="" type="checkbox"> Austria</label>
</div>
<div class="checkbox">
<label><input value="" type="checkbox"> Colombia
</label>
</div>
<div class="checkbox">
<label><input value="" type="checkbox"> Japan</label>
</div>
</div>
</div></div>