Reactive Forms - mark fields as touched
I am having trouble finding out how to mark all form's fields as touched. The main problem is that if I do not touch fields and try to submit form - validation error in not shown up. I have placeholder for that piece of code in my controller. My idea is simple: user clicks submit button all fields marks as touched error formatter reruns and displays validation errors If anyone have other idea how to show errors on submit, without implementing new method - please share them. Thanks! My simplified form: <form class="form-horizontal" [formGroup]="form" (ngSubmit)="onSubmit(form.value)"> <input