@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.
- package/dist/lib/utility.js +2 -1
- package/package.json +1 -1
package/dist/lib/utility.js
CHANGED
|
@@ -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
|
-
|
|
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;
|