سلام
من کد زیر را نوشته ام

<div class="form-group">
<label>Example of a Simple Static Select ViewBage</label>
<select id="statesSelect3" asp-items="@ViewBag.List" class="w-100">
</select>
</div>


<script>
$("#statesSelect3").select2({
theme: "bootstrap4",
allowClear: true,
placeholder: "Select an Title"
});

</script>

متاسفانه placeholder نمایش داده نمیشود
برای رفع مشکل باید چه تغییری بدهم در کدم