I have restricted the width of the item where I’m utilizing Select2, but I can’t seem to set the height of the item. I set it to one (line) in the item appearance attributes, but the item is still showing over 3 lines in my application. Anyway I can restrict the item appearance to a specific width and one line? I don’t care if the item value doesn’t appear completely and gets cropped.
Each item in the select2 widget’s dropdown is created as an unordederd list item with a class of select2-results__optiion
. So you should be able to use CSS to set li.select2-results__option
elements to the desired height and overflow: hidden
.