Reactive Form Using ControlValueAccessor for SubForm Show Errors on Submit
问题 I have a simple login page with a reactive form and subform component app-login-form that uses ControlValueAccessor , which is working, but I can't figure out how to display the errors in the subform. This is an example before I start creating more complex forms. When submitted I try to access the subform and markAllAsTouched , but when I'm watching the elements that the classes don't change. I made a quick StackBlitz to show what I'm doing. How do I get the error messages to show up when I