You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That's intended, as when size is 1 the list is a dropdown list.
I guess that size might not be the best property to set it, but it directly links to the size property of SELECT elements in HTML. I'm not sure if the size attribute is really strictly enforced - as in, if you set the height then it will display as many items as possible.
So maybe there should be two classes here. One for dropdown lists and one for "normal" lists.
In listbox.rb line 36 in
initialize
should be :
If I create a list with 2 items, I have to set the size to 2 like this :
otherwise I can't set the
multiple=
to true because :The text was updated successfully, but these errors were encountered: