suggest

links suggest list to the input

string|array|object suggest;

Example

webix.ui({
    view:"combo",
    suggest:"my_suggest_list"
})

Related samples

Details

Usually, if we define select options as array or data source a suggest list of a default type will be attached. It will feature default template, size and filtering (for editable inputs). If you need to customize these things, you should use the extended configuration:

{ view:"combo", options:{
    view:"suggest", // optional
    filter:function(item, value){ ...},
    body:{ // list configuration
        view:"list", // optional
        data:[..data..],
        template:"#value#",
        yCount:7
    }
}}

Note, that the suggest property is analogous to the options property, you can use any one of them.

See also
Back to top