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="autocomplete" style="width: 100px;" />
  autoWidth: true,
  dataSource: {
    data: ["Short item", "An item with really, really long text"]
In this article
Not finding the help you need? Improve this article