<mat-form-field id="with-errors" appearance="fill">
  <span class="custom-control">Custom control harness</span>
  <input matInput [formControl]="requiredControl">

  <mat-error>Error</mat-error>
  <mat-hint align="start">Hint</mat-hint>
</mat-form-field>
