Is there a way to resize (change width of) a select menu widget, without destroying and recreating it? I have a select menu in a container. The menu must dynamically resize itself when the container resizes. I tried ``` javascript mySelect.selectmenu("option", { width: container.width() }); ``` but it didn't work. Then I tried ``` javascript mySelect.selectmenu({ width: container.width() }); ``` but it only seemed to change the menuWidth, not the widget with.
Activity
fnagel commentedon Sep 27, 2014
Please provide a demo fiddle, see #61
leizhao4 commentedon Sep 29, 2014
Thank you @fnagel . Please try this fiddle: http://jsfiddle.net/znb03qtg/1/
fnagel commentedon Sep 29, 2014
Ok, now I see what you want to do. No, thats not possible in this fork but in the official selectmenu.
leizhao4 commentedon Sep 29, 2014
Okay, thanks!
fnagel commentedon Sep 30, 2014
So this issue could be closed?
leizhao4 commentedon Sep 30, 2014
Yes, please. Or keep it as a feature request, if you wish. :-)
fnagel commentedon Sep 30, 2014
Ok, thanks for the feedback.
I will leave it open but this fork will only get bugfixes as we now have the official selectmenu widget. Paid feature development is still possible.
[-]How to resize a select menu widget?[/-][+]Make width option work after init[/+]