diff --git a/src/utils/formUtil/index.ts b/src/utils/formUtil/index.ts index e0bc93c1..d4c3b62f 100644 --- a/src/utils/formUtil/index.ts +++ b/src/utils/formUtil/index.ts @@ -579,7 +579,8 @@ export function shouldProcessComponent(comp: Component, row: any, value: any): b const shouldBeCleared = (!comp.hasOwnProperty('clearOnHide') || comp.clearOnHide) && (comp.hidden || comp.scope?.conditionallyHidden); - const shouldSkipProcessingNestedFormData = noReferenceAttached || shouldBeCleared; + const shouldSkipProcessingNestedFormData = + noReferenceAttached || (shouldBeCleared && !comp.validateWhenHidden); if (shouldSkipProcessingNestedFormData) { return false; }