DataCollection as options in Combo

snippet: https://snippet.webix.com/f4bm2w8s

Using a DataCollection in options works fine for select/multicombo but not for combo.

Is it possible to change the behavior so that it’s the same across all views?

Hello,

For example, you made this:

var value1 = new webix.DataCollection({
  data:[
  	{id:1, value:"one"},
  	{id:2, value:"two"},
  ]
});

So here
{ view : 'combo', options : value1 }

options - this is what will be send to the list which is in the suggest

There is options: {data : value1}

value1 is an object with a suggest’s config(by this it’s easy to send the data collection to the list)

Is it possible to change the behavior so that it’s the same across all views?

Yep, I admit there’s an inconsistency in controls API. We will sync it so that all the select boxes can load Data Collection directly.