xxxxxxxxxx
1
<div class="md-form input-group mb-3">
2
<span class="input-group-text md-addon">
3
Button
4
</span>
5
<select class="mdb-select">
6
<option value="1">Option 1</option>
7
<option value="2">Option 2</option>
8
<option value="3">Option 3</option>
9
<option value="4">Option 4</option>
10
<option value="5">Option 5</option>
11
</select>
12
</div>
xxxxxxxxxx
1
input.select-dropdown {
2
padding-top: 0 !important;
3
padding-bottom:0 !important;
4
}
xxxxxxxxxx
1
$(document).ready(function () {
2
$('.mdb-select').materialSelect();
3
});
Console errors: 0