Closed Ajonymous closed 4 years ago
The theme doesn't seem to be working on the tags element. This is the code I am using below. But the image shows the differance between the Select2 field and the BS4 field
<link href="https://cdn.jsdelivr.net/npm/select2@4.1.0-beta.1/dist/css/select2.css" rel="stylesheet" /> <link rel="stylesheet" href="../css/select2-bootstrap4.css" type="text/css" />
<select class="form-control js-example-tags" name="caller" autofocus> <option></option> <option>Other</option> <option>Pit Lane</option> </select>
$('select').select2({ theme: 'bootstrap4', }); $(".js-example-tags").select2({ tags: true });
Whoops, forgot script.js for BS4
The theme doesn't seem to be working on the tags element. This is the code I am using below. But the image shows the differance between the Select2 field and the BS4 field