@xuda.io/runtime-bundle 1.0.896 → 1.0.898
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.
|
@@ -31122,11 +31122,11 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
31122
31122
|
$.each(elm_data?.xuAttributes, function (key, val) {
|
|
31123
31123
|
if (key.substr(0, 3) !== 'xu-') return true;
|
|
31124
31124
|
|
|
31125
|
-
let parameter_in_filed_id
|
|
31125
|
+
let parameter_in_filed_id; //= elm_data?.xuData?.paramsP?.parameters_raw_obj?.[val.substr(1)] ? val.substr(1) : undefined;
|
|
31126
31126
|
let exp_val_for_parameter_in_validation = _.clone(val);
|
|
31127
|
-
if (!_.isEmpty(elm_data?.xuData?.paramsP?.parameters_raw_obj)) {
|
|
31127
|
+
if (!_.isEmpty(elm_data?.xuData?.paramsP?.parameters_raw_obj) && typeof exp_val_for_parameter_in_validation === 'string') {
|
|
31128
31128
|
for (const [param_key, param_val] of Object.entries(elm_data?.xuData?.paramsP?.parameters_raw_obj)) {
|
|
31129
|
-
exp_val_for_parameter_in_validation = exp_val_for_parameter_in_validation.replaceAll(param_val, param_key);
|
|
31129
|
+
exp_val_for_parameter_in_validation = exp_val_for_parameter_in_validation.replaceAll(param_val, '@' + param_key);
|
|
31130
31130
|
}
|
|
31131
31131
|
}
|
|
31132
31132
|
|