Edit this page

autoWidth Boolean

If set to true, the widget automatically adjusts the width of the popup element and does not wrap up the item label.

Note: Virtualized list doesn't support the auto-width functionality.

Example - enable autoWidth

<input id="combobox" style="width: 100px;" />
  autoWidth: true,
  dataSource: {
    data: ["Short item", "An item with really, really long text"]
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article