hi, webix team, I have a question:
here is the code:
webix.ui({
view: 'richselect',
container: key,
id: key,
value: '',
options: {
view: 'gridsuggest',
data: options,
},
on:{
onChange: function(_newVal, _oldVal) {
var self = this.getText();
if (_newVal == '' || null) {
$scope.data[key] = '';
} else {
$scope.data[key] = _newVal;
}
},
}
})
I want to get the option not only the id,but also I want to all values from the option, how can i get it ?