diff --git a/static/plugin_dbui/src/form/field/ComboBox.js b/static/plugin_dbui/src/form/field/ComboBox.js index 545655db4d3861214282878123213a29129db1c8..a8d3ad981b530ea849ab235097505d510a0fc265 100644 --- a/static/plugin_dbui/src/form/field/ComboBox.js +++ b/static/plugin_dbui/src/form/field/ComboBox.js @@ -70,7 +70,9 @@ Ext.define('App.form.field.ComboBox', { var record; + // the store is not ready, reschedule the request if (!this.store.getCount()) { + this.store.on('load', this.selectFirstItem, this, {single: true}); return; }