<form appFormSubmit (ngSubmit)="objectController.actionCallback(primaryAction)" [formGroup]="tldForm">
  <app-form-errors #formErrors [formGroup]="tldForm"></app-form-errors>
  <div layoutDirection="column">
    <mat-form-field>
      <mat-label i18n>Name</mat-label>
      <input matInput placeholder="Name" i18n-placeholder
             (input)="nameCtrl.setValue(nameCtrl.value.toLowerCase())" type="text" formControlName="name" required>
      <mat-error>{{fieldErrors['name']}}</mat-error>
    </mat-form-field>
  </div>
</form>
