I have an angular reactive form in the child component and Submit button in the parent component. By default, Submit button in the parent component is disabled. I need a mechanism through which I should be able to check the form status in the child component, whether it is valid or invalid.
The moment status valid becomes true, the button in parent component should be enabled.
How to accomplish this?