Skip to content
This repository has been archived by the owner on Mar 24, 2020. It is now read-only.

Commit

Permalink
fix(tenant-contact): remove required attributes from HTML
Browse files Browse the repository at this point in the history
these are not needed since validators are used.
  • Loading branch information
thomastoye committed Jun 23, 2019
1 parent 89e4acf commit 587300d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ <h2 class="mb-24">Postadres</h2>

<mat-form-field appearance="outline" fxFlex="100">
<mat-label>Straat en nummer</mat-label>
<input matInput formControlName="streetAndNumber" required>
<input matInput formControlName="streetAndNumber">
<mat-error>Gelieve een straat en nummer in te vullen</mat-error>
</mat-form-field>

Expand All @@ -57,7 +57,7 @@ <h2 class="mb-24">Contactpersoon</h2>

<mat-form-field appearance="outline" fxFlex="100" class="pr-4">
<mat-label>Naam contactpersoon</mat-label>
<input matInput formControlName="contactPersonName" required>
<input matInput formControlName="contactPersonName">
<mat-icon matSuffix class="muted-text">account_circle</mat-icon>
<mat-error>Gelieve de naam in te vullen van de contactpersoon</mat-error>
</mat-form-field>
Expand Down

0 comments on commit 587300d

Please sign in to comment.