@aemforms/af-core 0.22.119 → 0.22.120
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/esm/afb-runtime.js +4 -1
- package/lib/Container.js +4 -1
- package/package.json +2 -2
package/esm/afb-runtime.js
CHANGED
|
@@ -2407,7 +2407,10 @@ class Container extends Scriptable {
|
|
|
2407
2407
|
for (const change of action.payload.changes) {
|
|
2408
2408
|
if (change.propertyName !== undefined && notifyChildrenAttributes.includes(change.propertyName)) {
|
|
2409
2409
|
this.items.forEach((child) => {
|
|
2410
|
-
|
|
2410
|
+
if (change.currentValue !== child.getState()[change.propertyName]) {
|
|
2411
|
+
child._jsonModel[change.propertyName] = change.currentValue;
|
|
2412
|
+
this.notifyDependents.call(child, propertyChange(change.propertyName, child.getState()[change.propertyName], null));
|
|
2413
|
+
}
|
|
2411
2414
|
if (child.fieldType === 'panel') {
|
|
2412
2415
|
this.notifyChildren.call(child, action);
|
|
2413
2416
|
}
|
package/lib/Container.js
CHANGED
|
@@ -463,7 +463,10 @@ class Container extends Scriptable_1.default {
|
|
|
463
463
|
for (const change of action.payload.changes) {
|
|
464
464
|
if (change.propertyName !== undefined && notifyChildrenAttributes.includes(change.propertyName)) {
|
|
465
465
|
this.items.forEach((child) => {
|
|
466
|
-
|
|
466
|
+
if (change.currentValue !== child.getState()[change.propertyName]) {
|
|
467
|
+
child._jsonModel[change.propertyName] = change.currentValue;
|
|
468
|
+
this.notifyDependents.call(child, (0, Events_1.propertyChange)(change.propertyName, child.getState()[change.propertyName], null));
|
|
469
|
+
}
|
|
467
470
|
if (child.fieldType === 'panel') {
|
|
468
471
|
this.notifyChildren.call(child, action);
|
|
469
472
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aemforms/af-core",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.120",
|
|
4
4
|
"description": "Core Module for Forms Runtime",
|
|
5
5
|
"author": "Adobe Systems",
|
|
6
6
|
"license": "Adobe Proprietary",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@adobe/json-formula": "0.1.50",
|
|
40
|
-
"@aemforms/af-formatters": "^0.22.
|
|
40
|
+
"@aemforms/af-formatters": "^0.22.120"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@babel/preset-env": "^7.20.2",
|