<form appFormSubmit (ngSubmit)="objectController.actionCallback(primaryAction)"
      [formGroup]="predefinedReplyCategoryForm" layoutDirection="column">
  <!--suppress JSUnusedGlobalSymbols -->
  <app-form-errors #formErrors [formGroup]="predefinedReplyCategoryForm"></app-form-errors>
  <div layoutDirection="row" appLayoutGap="10px">
    <mat-form-field appFlex="100">
      <mat-label i18n>Name</mat-label>
      <input matInput placeholder="Name" i18n-placeholder type="text" formControlName="name" required>
      <mat-error>{{fieldErrors['name']}}</mat-error>
    </mat-form-field>
  </div>
</form>
