Remove initial selection of Select2

118 Views Asked by At

I am working with Select2 and jQuery UI Tooltip. I made a jsfiddle in this regard. I am describing issue below.

$( function() {
    $(document).ready(function () {
      $('.js-example-basic-single').select2();
        
      $( document ).tooltip({
      position: {
        my: "center bottom-20",
        at: "center top",
        using: function( position, feedback ) {
          $( this ).css( position );
          $( "<div>" )
            .addClass( "arrow" )
            .addClass( feedback.vertical )
            .addClass( feedback.horizontal )
            .appendTo( this );
        }
      }
    });
    });
 });

If I click on dropdwon of Select2, the drop down opens with first value selected. I would like to remove this initial selection.

enter image description here

0

There are 0 best solutions below