DEV Community

Cover image for Form validation with ControlValueAccessor
Christian Lüdemann
Christian Lüdemann

Posted on

Form validation with ControlValueAccessor

If we have UI components, that are using inputs, we normally want to hook it into the form handling so we can do form validation and show error messages. This post will show you how to use ControlValueAccessor to integrate your UI components into the form validation and how to control the error state in an Angular material input using ErrorStateMatcher.

Read more here

Top comments (0)