cronapp-lib-js 3.2.1-SP.24 → 3.2.1-SP.26
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.
|
@@ -42218,13 +42218,19 @@
|
|
|
42218
42218
|
template = '#:';
|
|
42219
42219
|
if (typeof optionLabel === 'string') {
|
|
42220
42220
|
template += 'data';
|
|
42221
|
+
} else if (options.dataTextField === "data") {
|
|
42222
|
+
template += kendo.expr(options.dataTextField, "dataAux");
|
|
42221
42223
|
} else {
|
|
42222
42224
|
template += kendo.expr(options.dataTextField, 'data');
|
|
42223
42225
|
}
|
|
42224
42226
|
template += '#';
|
|
42225
42227
|
}
|
|
42226
42228
|
if (typeof template !== 'function') {
|
|
42227
|
-
|
|
42229
|
+
if (options.dataTextField === "data") {
|
|
42230
|
+
template = kendo.template(template, { paramName: "dataAux" });
|
|
42231
|
+
} else {
|
|
42232
|
+
template = kendo.template(template);
|
|
42233
|
+
}
|
|
42228
42234
|
}
|
|
42229
42235
|
that.optionLabelTemplate = template;
|
|
42230
42236
|
if (!that.hasOptionLabel()) {
|