[ADF-3910] Expose the identityHost as part of the setting component (#4161)

This commit is contained in:
Maurizio Vitale
2019-01-16 13:01:15 +00:00
committed by Eugenio Romano
parent a49cd76fcb
commit 28da31c550
4 changed files with 56 additions and 0 deletions

View File

@@ -53,6 +53,17 @@
{{ 'CORE.HOST_SETTINGS.REQUIRED'| translate }}
</mat-error>
</mat-form-field>
<mat-form-field *ngIf="hasIdentity" class="adf-full-width" floatLabel="Identity Host">
<mat-label>Identity Host</mat-label>
<input matInput name="identityHost" id="identityHost" formControlName="identityHost"
placeholder="http(s)://host|ip:port(/path)">
<mat-error *ngIf="identityHost.hasError('pattern')">
{{ 'CORE.HOST_SETTINGS.NOT_VALID'| translate }}
</mat-error>
<mat-error *ngIf="identityHost.hasError('required')">
{{ 'CORE.HOST_SETTINGS.REQUIRED'| translate }}
</mat-error>
</mat-form-field>
</mat-card-content>
</ng-container>