select2 placeholder in html code example
Example 1: select2 placeholder
$(".js-example-placeholder-single").select2({
placeholder: "Select a state",
allowClear: true
});
Example 2: placeholder in html select
<option value="" selected disabled hidden>Select Here</option>