Bind Values to dropdown in webix

Hi,

Intitially i have a dropdown which has the below code.

var richselect = webix.ui({

view:"richselect",

label:"Choose", 

value:1, options:[ 

    { "id":1, "value":"Banana"}, 

    { "id":2, "value":"Papaya"}, 

    { "id":3, "value":"Apple"}

]

});

When i select the option from the dropdown ,and click on the dropdown only the selected value should be visible.

I am sorry, but I cannot quite get the “click on the dropdown only the selected value should be visible” part. If only the selected value were visible in the dropdown, how would you be able to select something else there?

the answer is posted in this topic https://forum.webix.com/discussion/comment/24248#Comment_24248