papegaaij commented on code in PR #1186:
URL: https://github.com/apache/wicket/pull/1186#discussion_r2145177740


##########
wicket-core/src/main/java/org/apache/wicket/markup/html/form/Form.java:
##########
@@ -1986,7 +1986,7 @@ protected final void validateFormValidator(final 
IFormValidator validator)
                                }
                                // check if the dependent component is visible 
and is attached to
                                // the page
-                               else if (!dependent.isVisibleInHierarchy() || 
!dependent.isEnabledInHierarchy() || !dependent.isFormParticipant())

Review Comment:
   The problem I see with this approach is that the validator will also perform 
validation if all components are disabled. I don't think this is desired. 
Validation should only be performed if at least one component is enabled.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@wicket.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to