@ -78,7 +78,9 @@ export class ShowError {
|
||||
controlPath: string;
|
||||
errorTypes: string[];
|
||||
|
||||
constructor(@Host() formDir: NgForm) { this.formDir = formDir; }
|
||||
constructor(@Host() formDir: NgForm) {
|
||||
this.formDir = formDir;
|
||||
}
|
||||
|
||||
get errorMessage(): string {
|
||||
const form: FormGroup = this.formDir.form;
|
||||
|
Reference in New Issue
Block a user