Skip to content
Snippets Groups Projects
Commit c731e7b3 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Improved logic in ComboBox.SelectFirstItem.

parent 28d6f308
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment