@astroapps/forms-core 1.2.1 → 1.2.3
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/lib/index.cjs +2 -2
- package/lib/index.cjs.map +1 -1
- package/lib/index.js +2 -2
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/src/formState.ts +1 -1
- package/src/schemaDataNode.ts +1 -1
package/lib/index.cjs
CHANGED
|
@@ -820,7 +820,7 @@ var SchemaDataTreeImpl = /*#__PURE__*/function (_SchemaDataTree) {
|
|
|
820
820
|
_proto2.getChildElement = function getChildElement(parent, elementIndex) {
|
|
821
821
|
var elemControl = parent.control;
|
|
822
822
|
var elemChild = elemControl.elements[elementIndex];
|
|
823
|
-
return new SchemaDataNode(elemChild.uniqueId.toString(), parent.schema, elementIndex, elemChild, this, parent);
|
|
823
|
+
return new SchemaDataNode(elemChild.uniqueId.toString() + "_" + elementIndex, parent.schema, elementIndex, elemChild, this, parent);
|
|
824
824
|
};
|
|
825
825
|
return SchemaDataTreeImpl;
|
|
826
826
|
}(SchemaDataTree);
|
|
@@ -1646,7 +1646,7 @@ function createFormState(schemaInterface, evaluators) {
|
|
|
1646
1646
|
return !!cf.readonly.value || isControlReadonly(definition);
|
|
1647
1647
|
});
|
|
1648
1648
|
controls.updateComputedValue(disabled, function () {
|
|
1649
|
-
return !!cf.disabled.value ||
|
|
1649
|
+
return !!cf.disabled.value || of.disabled.value;
|
|
1650
1650
|
});
|
|
1651
1651
|
controls.updateComputedValue(variables, function () {
|
|
1652
1652
|
var _controlImpl$fields$v2;
|