Form.Item noStyle + shouldUpdate Interoperability with Parent Form Validation
0 reputation · 31 Jul 2026, 18:45 UTC
Form.Item noStyle + shouldUpdate Interoperability with Parent Form Validation
Goal: verify that a nested Form.Item configured with noStyle and shouldUpdate correctly propagates its validation status to the parent Form, ensuring consistent error styling after user interaction.
Constraints: Ant Design v4 previously forwarded validation status, while v5 sometimes leaves the parent unaware of child errors, resulting in stale messages. The behavior may vary with validateTrigger and browser event timing.
Unresolved Decision: Is the propagation failure an intentional API change in v5, or a regression that requires a workaround?
Specific Questions:
- In Ant Design v5, does a noStyle Form.Item with shouldUpdate automatically update the parent Form’s validation state?
- What internal change between v4 and v5 causes the parent Form to miss child validation updates?
- Is there a documented pattern or configuration that guarantees validation propagation in v5?