@aemforms/af-core 0.22.60 → 0.22.62

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.
Files changed (2) hide show
  1. package/lib/Form.js +3 -0
  2. package/package.json +2 -2
package/lib/Form.js CHANGED
@@ -67,6 +67,9 @@ class Form extends Container_1.default {
67
67
  setFocus(field) {
68
68
  const parent = field.parent;
69
69
  const currentField = field;
70
+ if (parent != null && parent.activeChild != null) {
71
+ parent.activeChild = null;
72
+ }
70
73
  while (parent != null && parent.activeChild != currentField) {
71
74
  parent.activeChild = currentField;
72
75
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aemforms/af-core",
3
- "version": "0.22.60",
3
+ "version": "0.22.62",
4
4
  "description": "Core Module for Forms Runtime",
5
5
  "author": "Adobe Systems",
6
6
  "license": "Adobe Proprietary",
@@ -35,7 +35,7 @@
35
35
  },
36
36
  "dependencies": {
37
37
  "@adobe/json-formula": "0.1.50",
38
- "@aemforms/af-formatters": "^0.22.60"
38
+ "@aemforms/af-formatters": "^0.22.62"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@babel/preset-env": "^7.20.2",