On Change event on Rich Select hold the picklist till the operation is not completed

Hello,

I have Rich Select, I am calling On Change Event on the Rich Select, Basically I am doing data base call whenever the value of richselect will change, but the problem is here that, until the operation is will not over, my rich select stuck in the page and show the list item till the operation will not over. I need to know how I can remove this stuck issue, since I have change the value, the picker should close and show only the selected value from the list ,but here it will stuck till the operation is not got over.

If you are making async call - the picker should close.
If you are using sync. call - the picker will stay open till a server side response.

To change behavior in case of sync call, you can use code like next

function onchnage_handler(){
     webix.delay(function(){
         ... place sync server side call here ...
     });
}