Skip to content

Instantly share code, notes, and snippets.

@kellenmace
Created September 16, 2015 15:34
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save kellenmace/238b44c70761be964b6b to your computer and use it in GitHub Desktop.
( function ( $ ) {
$( document ).ready( function () {
$body.find( 'select' ).each( function () {
var $select = $( this ).selectize();
// Clear selected items from selectize control on dropdown click
$( '#loadProject .selectize-control' ).on( 'click', function () {
var selectize = $select[0].selectize;
selectize.clear(true);
});
} );
});
}( jQuery ) );
@m4r14n
Copy link

m4r14n commented Feb 22, 2017

Is not working, just write a white block instead the item.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment