How to implement a logic any validation is triggered, the button is disable.

There are many components in my interface, and each component has their own validations. I want to implement a require like if any validation is triggered, the submit button should be disable. Is there any easy way I can achieve that? Or I can only write all the validations again in disable.

  Discussion posts and replies are publicly visible