dynamic logic and forumla add field focus
This commit is contained in:
@@ -64,6 +64,13 @@ Espo.define('views/admin/dynamic-logic/fields/field', 'views/fields/multi-enum',
|
||||
|
||||
this.params.options = this.getFieldList();
|
||||
this.setupTranslatedOptions();
|
||||
},
|
||||
|
||||
afterRender: function () {
|
||||
Dep.prototype.afterRender.call(this);
|
||||
if (this.$element && this.$element[0] && this.$element[0].selectize) {
|
||||
this.$element[0].selectize.focus();
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
@@ -56,6 +56,13 @@ Espo.define('views/admin/formula/fields/attribute', 'views/fields/multi-enum', f
|
||||
}, this);
|
||||
|
||||
this.params.options = attributeList;
|
||||
},
|
||||
|
||||
afterRender: function () {
|
||||
Dep.prototype.afterRender.call(this);
|
||||
if (this.$element && this.$element[0] && this.$element[0].selectize) {
|
||||
this.$element[0].selectize.focus();
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user