fix enum
This commit is contained in:
@@ -80,6 +80,9 @@ Espo.define('Views.Fields.Enum', ['Views.Fields.Base', 'lib!Selectize'], functio
|
||||
|
||||
if (this.translatedOptions === null) {
|
||||
this.translatedOptions = this.getLanguage().translate(this.name, 'options', this.model.name) || {};
|
||||
if (this.translatedOptions === this.name) {
|
||||
this.translatedOptions = null;
|
||||
}
|
||||
}
|
||||
|
||||
if (this.params.isSorted && this.translatedOptions) {
|
||||
|
||||
Reference in New Issue
Block a user