Reputation: 252
How i can disable word wrap when open select2 drop down menu?
in next picture when i use standard GUI, words not moved to a new line and line width is increased
Upvotes: 4
Views: 3089
Reputation: 6236
You can set dropdownAutoWidth
as true
:
$("selector").select2({
dropdownAutoWidth : true
});
Hope this helps.
Upvotes: 11