@optimiser/common 1.0.400 → 1.0.401

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.
@@ -5349,7 +5349,8 @@ function CheckConditionalField(field, record, action) {
5349
5349
  break;
5350
5350
  case "show-enabled-mandatory":
5351
5351
  case "show-enabled-nonmandatory":
5352
- if (fieldData) {
5352
+ // Add this condition to exclude fields with UIDataType "location" for search address, as discussed with Shahzaib Sir.
5353
+ if (fieldData && field.Schema.UIDataType !== "location") {
5353
5354
  msg = ((field.DisplayName || field.Schema.DisplayName) || field.Name) + ' is a hidden field and should not contain value.';
5354
5355
  }
5355
5356
  break;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optimiser/common",
3
- "version": "1.0.400",
3
+ "version": "1.0.401",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {