@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.js CHANGED
@@ -715,7 +715,7 @@ class SchemaDataTreeImpl extends SchemaDataTree {
715
715
  getChildElement(parent, elementIndex) {
716
716
  const elemControl = parent.control;
717
717
  const elemChild = elemControl.elements[elementIndex];
718
- return new SchemaDataNode(elemChild.uniqueId.toString(), parent.schema, elementIndex, elemChild, this, parent);
718
+ return new SchemaDataNode(elemChild.uniqueId.toString() + "_" + elementIndex, parent.schema, elementIndex, elemChild, this, parent);
719
719
  }
720
720
  }
721
721
  /**
@@ -1459,7 +1459,7 @@ function createFormState(schemaInterface, evaluators = defaultEvaluators) {
1459
1459
  updateComputedValue(dataNode, () => lookupDataNode(definition, parent));
1460
1460
  updateComputedValue(hidden, () => !!cf.hidden.value || definition.hidden || dataNode.value && (!validDataNode(dataNode.value) || hideDisplayOnly(dataNode.value, schemaInterface, definition)));
1461
1461
  updateComputedValue(readonly, () => !!cf.readonly.value || isControlReadonly(definition));
1462
- updateComputedValue(disabled, () => !!cf.disabled.value || isControlDisabled(definition));
1462
+ updateComputedValue(disabled, () => !!cf.disabled.value || of.disabled.value);
1463
1463
  updateComputedValue(variables, () => {
1464
1464
  var _controlImpl$fields$v2;
1465
1465
  return (_controlImpl$fields$v2 = controlImpl.fields.variables.value) != null ? _controlImpl$fields$v2 : {};