datasync-dynamic-form 1.0.21 → 1.0.22
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.
|
@@ -103,9 +103,14 @@ class DynamicForm3Tiers2 extends _react.Component {
|
|
|
103
103
|
};
|
|
104
104
|
setFieldData = (pFieldObject, value) => {
|
|
105
105
|
this.data_blob.data_tier[pFieldObject.name] = value;
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
106
|
+
|
|
107
|
+
//onFormChange handler return current form value to caller - PMAB onn 2025-02-03
|
|
108
|
+
if (this.props.onFormChange) this.props.onFormChange(this.data_blob.data_tier);
|
|
109
|
+
if (_Globals.globals.parameters.debugging) {
|
|
110
|
+
console.log("01:setFieldData[", pFieldObject.name, "] value->", value);
|
|
111
|
+
console.log("01:setFieldData[", pFieldObject.name, "] this.data_blob.data_tier ->", this.data_blob.data_tier);
|
|
112
|
+
console.log("01:setFieldData[", pFieldObject.name, "] this.data_blob ->", this.data_blob);
|
|
113
|
+
}
|
|
109
114
|
};
|
|
110
115
|
getSelectedFieldValues_V1 = pFieldObject => {
|
|
111
116
|
return pFieldObject.selected_values ? pFieldObject.selected_values : "";
|