<ng-template #templateref let-cellvalue="cellvalue" let-rowvalue="rowvalue">
  <div class="o-table-cell-editor-text" [formGroup]="formGroup">
    <mat-form-field floatLabel="never" cdkFocusInitial>
      <input #input matInput type="email" [placeholder]="getPlaceholder()" [formControl]="formControl" [id]="cellEditorId"
        [required]="orequired">
      <mat-error *ngIf="hasError('required')">{{ 'FORM_VALIDATION.REQUIRED' | oTranslate }}</mat-error>
      <mat-error *ngIf="hasError('email') && !hasError('required')">{{ 'FORM_VALIDATION.EMAIL_FORMAT' | oTranslate }}</mat-error>
    </mat-form-field>
  </div>
</ng-template>
<ng-template #templateref let-cellvalue="cellvalue" let-rowvalue="rowvalue">
  <div class="o-table-cell-editor-text" [formGroup]="formGroup">
    <mat-form-field floatLabel="never" cdkFocusInitial>
      <input #input matInput type="email" [placeholder]="getPlaceholder()" [formControl]="formControl" [id]="cellEditorId"
        [required]="orequired">
      <mat-error *ngIf="hasError('required')">{{ 'FORM_VALIDATION.REQUIRED' | oTranslate }}</mat-error>
      <mat-error *ngIf="hasError('email') && !hasError('required')">{{ 'FORM_VALIDATION.EMAIL_FORMAT' | oTranslate }}</mat-error>
    </mat-form-field>
  </div>
</ng-template>

Add new line at the end of file
Add new line at the end of file
