I have forms that uses the template-driven blueprint, so something like this:
This is what helped me:
type="button"
(click)="onSubmit()"
<- the method that will be called(ngSubmit)="onSubmit()"
from
I am not sure if there are side-effects of removing (ngSubmit)
from the form.
BTW: I observed that
have disabled custom validators.