I replied in the support ticket you opened with the same subject. To summarize here as well, the MultiSelect and DropDownList have their own Add new item demos (MultiSelect demo
, DropDownList demo
), in which widget-specific logic and methods are used to achieve the same result, for example:
In the MultiSelect demo:
and in the DropDownList demo:
widget.select(dataSource.view().length - 1);
Thus instead of replacing the widgets in one demo we would suggest reviewing the widget-specific logic in each of the dropdown widgets' (DropDownList, MultiSelect, ComboBox, AutoComplete) Add new item demos.