angular
angular copied to clipboard
Set form as invalid from the custom component
Hi! I just want to ask if its possible to set the form as invalid from the custom component itself. I have created a validation inside my custom component, if that validation fails I want to disable the submit button and tag the form as invalid programmatically inside the custom component.
Hoping for your kind assistance on this. Thanks!