cronapp-framework-js 2.9.6-SP.26 → 2.9.6-SP.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.
@@ -152,5 +152,7 @@
152
152
  "clear": "Clear",
153
153
  "noDataFound": "No data found",
154
154
  "yes": "Yes",
155
- "no": "No"
155
+ "no": "No",
156
+ "Datasource.Error": "Error",
157
+ "Datasource.Duplicate": "There is more than one data source with the same name, use a unique name for each, check if there is a modal with the data source that has the name: "
156
158
  }
@@ -152,5 +152,7 @@
152
152
  "clear": "Limpar",
153
153
  "noDataFound": "Nenhum dado encontrado",
154
154
  "yes": "Sim",
155
- "no": "Não"
155
+ "no": "Não",
156
+ "Datasource.Error": "Erro",
157
+ "Datasource.Duplicate": "Existem mais de uma fonte de dados com o mesmo nome, utilize nome único para cada, verifique se existe modal com a fonte de dados que tenha o nome: "
156
158
  }
package/js/directives.js CHANGED
@@ -4228,7 +4228,11 @@
4228
4228
  value = null;
4229
4229
  }
4230
4230
 
4231
- if (value !== combobox.value()) {
4231
+ let comboValue = combobox.value();
4232
+ comboValue = comboValue !== undefined && comboValue !== null ? comboValue.trim() : comboValue;
4233
+ let valueToCheck = value !== undefined && value !== null ? ('' + value).trim() : value;
4234
+
4235
+ if (valueToCheck !== comboValue) {
4232
4236
  await combobox.value(value);
4233
4237
  }
4234
4238
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cronapp-framework-js",
3
- "version": "2.9.6-SP.26",
3
+ "version": "2.9.6-SP.27",
4
4
  "description": "Javascript library for CronApp's projects",
5
5
  "main": "cronapp.framework.js",
6
6
  "scripts": {