ru.coon 2.5.26 → 2.5.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/package.json +1 -1
- package/src/report/component/ReportLookupCombo.js +12 -1
- package/src/version.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
# Version 2.5.27, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/fcd4e0950fe72a254f300c150d37283487a172c1)
|
|
2
|
+
* ## Fixes
|
|
3
|
+
* <span style='color:red'>Fix:HT-7001 override setValue in ReportLookupCombo</span> ([794a19], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/794a199b1fc5488a5519db1fb9b03328f85a84b7))
|
|
4
|
+
|
|
5
|
+
* update: CHANGELOG.md ([6be855], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/6be8553e20b399bfa42e1a92bb3bd9a5de72256f))
|
|
6
|
+
|
|
1
7
|
# Version 2.5.26, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/da7767ea8d5507d8b2081aeaf13f46c21010f0d2)
|
|
2
8
|
* ## Features
|
|
3
9
|
* <span style='color:green'>feat: TR-67310 исправление ситуации когда defaultFocus на поле в состоянии disabled приводит к возврату фокуса на предыдущий элемент</span> ([335b93], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/335b9374874e2406e6f5c80daada6ba49eef05dc))
|
package/package.json
CHANGED
|
@@ -75,6 +75,8 @@ Ext.define('Coon.report.component.ReportLookupCombo', {
|
|
|
75
75
|
|
|
76
76
|
initComponent() {
|
|
77
77
|
this._cachedValue = Boolean(false);
|
|
78
|
+
this._inited = Boolean(false);
|
|
79
|
+
|
|
78
80
|
if (!this.getDisplayField()) {
|
|
79
81
|
Coon.log.error('displayField is empty!');
|
|
80
82
|
}
|
|
@@ -87,6 +89,15 @@ Ext.define('Coon.report.component.ReportLookupCombo', {
|
|
|
87
89
|
}
|
|
88
90
|
this.callParent(arguments);
|
|
89
91
|
|
|
92
|
+
this._setValue = this.setValue.bind(this);
|
|
93
|
+
this.setValue = function(value) {
|
|
94
|
+
this._setValue(value);
|
|
95
|
+
if (!this._inited && value) {
|
|
96
|
+
this._inited = true;
|
|
97
|
+
this.loadReportData(value);
|
|
98
|
+
}
|
|
99
|
+
};
|
|
100
|
+
|
|
90
101
|
this.on('beforequery', function() {
|
|
91
102
|
return false;
|
|
92
103
|
});
|
|
@@ -142,7 +153,7 @@ Ext.define('Coon.report.component.ReportLookupCombo', {
|
|
|
142
153
|
this.clearValue();
|
|
143
154
|
if (this.bindToModel) {
|
|
144
155
|
this.setViewModelValue(null);
|
|
145
|
-
} else if (this.bind.value) {
|
|
156
|
+
} else if (this.bind && this.bind.value) {
|
|
146
157
|
this.publishState('value', null);
|
|
147
158
|
}
|
|
148
159
|
},
|
package/src/version.js
CHANGED