diff --git a/Sources/SpeziValidation/ValidationModifier.swift b/Sources/SpeziValidation/ValidationModifier.swift index 2767cd8..f89dc58 100644 --- a/Sources/SpeziValidation/ValidationModifier.swift +++ b/Sources/SpeziValidation/ValidationModifier.swift @@ -67,6 +67,10 @@ extension View { /// } /// ``` /// + /// - Important: You shouldn't place multiple validate modifiers into the same view hierarchy branch. This creates + /// visibility problems in both direction. Both displaying validation results in the child view and receiving + /// validation state from the parent view. + /// /// - Parameters: /// - value: The current value to validate. /// - rules: An array of ``ValidationRule``s. @@ -94,6 +98,10 @@ extension View { /// } /// ``` /// + /// - Important: You shouldn't place multiple validate modifiers into the same view hierarchy branch. This creates + /// visibility problems in both direction. Both displaying validation results in the child view and receiving + /// validation state from the parent view. + /// /// - Parameters: /// - value: The current value to validate. /// - rules: An variadic array of ``ValidationRule``s.