@astroapps/forms-core 1.2.1 → 1.2.2
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 +1 -1
- package/lib/index.cjs.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/src/formState.ts +1 -1
package/lib/index.js
CHANGED
|
@@ -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 ||
|
|
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 : {};
|