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
You can set dropdownAutoWidth
as true
:
$("selector").select2({
dropdownAutoWidth : true
});
Hope this helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With