@overmap-ai/core 1.0.28-integrate-forms.12 → 1.0.28-integrate-forms.13
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/dist/overmap-core.js
CHANGED
|
@@ -9112,7 +9112,7 @@ const FieldSectionLayout = memo(function FieldSectionLayout2(props) {
|
|
|
9112
9112
|
const { values, setFieldValue } = useFormikContext();
|
|
9113
9113
|
const conditionValue = (condition == null ? void 0 : condition.identifier) ? get(values, condition.identifier) : void 0;
|
|
9114
9114
|
const conditionMet = useMemo(
|
|
9115
|
-
() =>
|
|
9115
|
+
() => conditionValue === void 0 || isConditionMet(condition, conditionValue),
|
|
9116
9116
|
[condition, conditionValue]
|
|
9117
9117
|
);
|
|
9118
9118
|
useEffect(() => {
|