How to make placeholder for select2 jQuery plugin. On StackOverflow many answers how to make placeholder there, but they about element\'s placeholder. I need to specify a pl
Use event select2:open.
$('#mySelect').select2().on('select2:open', function(e){ $('.select2-search__field').attr('placeholder', 'your placeholder'); })