If you have long tooltips or want to use html in a tooltip:
<div class="form-group">
<label for="myID">Test</label>
<select class="form-control" id="myID" name="myID" data-toggle="tooltip" data-placement="top" data-html="true">
<option>option1</option>
<option>option2</option>
<option>option3</option>
<option>option4</option>
</select>
</div>
<script>
$('#myID').tooltip({'trigger':'focus', 'title': 'This is my tooltip. You can use <b>HTML</b>.'});
</script>
I created JSFiddle: https://jsfiddle.net/15o0t2ju/1/
you can change the placement of data = "top" down, left, right. check doc: https://www.w3schools.com/bootstrap/bootstrap_tooltip.asp
source
share