Hi we have a problem with a combobox
We need this combobox to have a lot of record (around 1000-2000) and to paginate results for performance. We also need it to have virtualization cause sometimes we have to use the value method to programmatically select an element that may not be in the current pagination.
We then added a button at the left side. It opens a dialog that permits to add an element to the database, reread the combobox datasource and select the new element.
// on confirm, call our add element rest api
// on call completed, datasource.read
// on read promise completed, combobox.value( id of the new element )
the value( id ) method starts rereading the datasource non stop, doing infinite ajax get calls to the server. We are having troubles understanding what may cause this.
in the console we read the warning i attached
this is most of the code, tell me if you need other parts: https://jsfiddle.net/mhqw922q/?utm_source=website&utm_medium=embed&utm_campaign=mhqw922q