Implement custom control using Control Value Accessor by reference to the NgControl

88 Views Asked by At

I have a problem with implementing custom control by reference to the NgControl. It almost works but I have validation problem when I'm calling ngSubmit method. I tried to call form.markAllAsTouched() but with no result.

Example - Custom Control vs Control from Angular Material

Expected behavior:

The custom control behaves in the same way as the one from angular material.

0

There are 0 best solutions below