Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
( 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

This comment has been minimized.

Copy link

@m4r14n 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