@aemforms/af-core 0.22.80 → 0.22.81
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 +3 -0
- package/lib/Field.js +3 -0
- package/package.json +2 -2
package/esm/afb-runtime.js
CHANGED
|
@@ -3786,6 +3786,9 @@ class Field extends Scriptable {
|
|
|
3786
3786
|
}
|
|
3787
3787
|
reset() {
|
|
3788
3788
|
const changes = this.updateDataNodeAndTypedValue(this.default);
|
|
3789
|
+
if (!changes) {
|
|
3790
|
+
return;
|
|
3791
|
+
}
|
|
3789
3792
|
const validationStateChanges = {
|
|
3790
3793
|
'valid': undefined,
|
|
3791
3794
|
'errorMessage': '',
|
package/lib/Field.js
CHANGED
|
@@ -387,6 +387,9 @@ class Field extends Scriptable_1.default {
|
|
|
387
387
|
}
|
|
388
388
|
reset() {
|
|
389
389
|
const changes = this.updateDataNodeAndTypedValue(this.default);
|
|
390
|
+
if (!changes) {
|
|
391
|
+
return;
|
|
392
|
+
}
|
|
390
393
|
const validationStateChanges = {
|
|
391
394
|
'valid': undefined,
|
|
392
395
|
'errorMessage': '',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aemforms/af-core",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.81",
|
|
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.81"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@babel/preset-env": "^7.20.2",
|