[SSE] Format refactoring

This commit is contained in:
Julia Radzhabova 2020-12-01 20:08:56 +03:00
parent 3cdd036ba7
commit 6a8f2e7152

View file

@ -509,8 +509,9 @@ define([
data.push({value: this.CustomFormat, displayValue: this.CustomFormat}); data.push({value: this.CustomFormat, displayValue: this.CustomFormat});
} }
this.cmbCode.setData(data); this.cmbCode.setData(data);
this.cmbCode.setValue(this.Format); var value = me.api.asc_convertNumFormat2NumFormatLocal(this.Format);
this.inputCustomFormat.setValue(me.api.asc_convertNumFormat2NumFormatLocal(this.Format)); this.cmbCode.setValue(value);
this.inputCustomFormat.setValue(value);
} }
this.lblExample.text(this.api.asc_getLocaleExample(this.Format)); this.lblExample.text(this.api.asc_getLocaleExample(this.Format));