Bootstrap country selector defaults to "unselected"
P粉969666670
P粉969666670 2024-02-17 17:47:35
0
1
398

With the Bootstrap country selector, I am using the code below to populate the countries. It works fine but there is no "unselected" default value. Is there any solution...?

<script>
  $('.countrypicker').countrypicker();
</script>

    <select class="form-control selectpicker countrypicker" id="country" name="country" data-flag="true" data-default=""></select>

P粉969666670
P粉969666670

reply all(1)
P粉627427202

If you want to change the text "Nothing selected", set the title attribute to whatever you need.

For example: title="My custom text"


Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template