Original report by Andreas Liebelt (Bitbucket: aliebelt, GitHub: aliebelt).
In some cases there should only be a validation of a control if a precondition is fulfilled. E.g. A TextField has only to be -not empty- if a specific item of a ComboBox is selected. ... See the attached application for an example
I thought how to solve this. My suggestion is: Only validate a control if it is not disabled or not invisible. Because one will not be able to change the control to a valid state if it is disabled or invisible.
But maybe you have an idea for a API solution for such "Dependent Validation".
Best regards
该提问来源于开源项目:controlsfx/controlsfx