My combo template multi value and breakline
template: '#name# <br> #address# <br> #city#',
but I want only #name#
combo text when select/onchange
My combo template multi value and breakline
template: '#name# <br> #address# <br> #city#',
but I want only #name#
combo text when select/onchange
Hello!
For such purpose you need to define a template function for your combo:
onChange:function(){
webix.delay(function(){
$$("test").getPopup().define('template', function (obj) {
return obj.name;
});
$$("test").refresh();
});
}
Please, check an example: Code Snippet
Thanks @NastassiaM
I try using text suggest, but getPopup() method not found, how can I using text suggest ?
https://snippet.webix.com/5qw45r36