Commit 64a67567 authored by Florent Poittevin's avatar Florent Poittevin Committed by Alicia.DeDiosFuente
Browse files

style: [DLCM-1989] display tooltip on ellipsis on mat error

parent 200ae475
...@@ -10,7 +10,9 @@ ...@@ -10,7 +10,9 @@
[solidifyValidation]="errors" [solidifyValidation]="errors"
matInput matInput
> >
<mat-error #errors></mat-error> <mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field> </mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.lastName) as fd" <mat-form-field *ngIf="getFormControl(formDefinition.lastName) as fd"
...@@ -24,7 +26,9 @@ ...@@ -24,7 +26,9 @@
[solidifyValidation]="errors" [solidifyValidation]="errors"
matInput matInput
> >
<mat-error #errors></mat-error> <mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field> </mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.homeOrganization) as fd" <mat-form-field *ngIf="getFormControl(formDefinition.homeOrganization) as fd"
...@@ -38,7 +42,9 @@ ...@@ -38,7 +42,9 @@
[solidifyValidation]="errors" [solidifyValidation]="errors"
matInput matInput
> >
<mat-error #errors></mat-error> <mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field> </mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.email) as fd" <mat-form-field *ngIf="getFormControl(formDefinition.email) as fd"
...@@ -52,7 +58,9 @@ ...@@ -52,7 +58,9 @@
[solidifyValidation]="errors" [solidifyValidation]="errors"
matInput matInput
> >
<mat-error #errors></mat-error> <mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field> </mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.applicationRole) as fd" <mat-form-field *ngIf="getFormControl(formDefinition.applicationRole) as fd"
...@@ -71,6 +79,8 @@ ...@@ -71,6 +79,8 @@
{{role | translate}} {{role | translate}}
</mat-option> </mat-option>
</mat-select> </mat-select>
<mat-error #errors></mat-error> <mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field> </mat-form-field>
</form> </form>
...@@ -19,7 +19,9 @@ ...@@ -19,7 +19,9 @@
[solidifyValidation]="errors" [solidifyValidation]="errors"
matInput matInput
> >
<mat-error #errors></mat-error> <mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field> </mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.destinationServer) as fd" <mat-form-field *ngIf="getFormControl(formDefinition.destinationServer) as fd"
...@@ -33,7 +35,9 @@ ...@@ -33,7 +35,9 @@
[solidifyValidation]="errors" [solidifyValidation]="errors"
matInput matInput
> >
<mat-error #errors></mat-error> <mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field> </mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.subFolder) as fd" <mat-form-field *ngIf="getFormControl(formDefinition.subFolder) as fd"
...@@ -47,7 +51,9 @@ ...@@ -47,7 +51,9 @@
[solidifyValidation]="errors" [solidifyValidation]="errors"
matInput matInput
> >
<mat-error #errors></mat-error> <mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field> </mat-form-field>
</ng-template> </ng-template>
...@@ -70,7 +76,9 @@ ...@@ -70,7 +76,9 @@
{{type}} {{type}}
</mat-option> </mat-option>
</mat-select> </mat-select>
<mat-error #errors></mat-error> <mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field> </mat-form-field>
</ng-template> </ng-template>
......
...@@ -22,7 +22,9 @@ ...@@ -22,7 +22,9 @@
matInput matInput
> >
<mat-error #errors></mat-error> <mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field> </mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.name) as fd" <mat-form-field *ngIf="getFormControl(formDefinition.name) as fd"
...@@ -37,7 +39,9 @@ ...@@ -37,7 +39,9 @@
[solidifyValidation]="errors" [solidifyValidation]="errors"
matInput matInput
> >
<mat-error #errors></mat-error> <mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field> </mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.description) as fd" <mat-form-field *ngIf="getFormControl(formDefinition.description) as fd"
...@@ -51,7 +55,9 @@ ...@@ -51,7 +55,9 @@
[solidifyValidation]="errors" [solidifyValidation]="errors"
matInput matInput
></textarea> ></textarea>
<mat-error #errors></mat-error> <mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field> </mat-form-field>
</ng-template> </ng-template>
......
...@@ -20,7 +20,9 @@ ...@@ -20,7 +20,9 @@
[solidifyValidation]="errors" [solidifyValidation]="errors"
matInput matInput
> >
<mat-error #errors></mat-error> <mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field> </mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.alias) as fd" <mat-form-field *ngIf="getFormControl(formDefinition.alias) as fd"
...@@ -34,7 +36,9 @@ ...@@ -34,7 +36,9 @@
[solidifyValidation]="errors" [solidifyValidation]="errors"
matInput matInput
> >
<mat-error #errors></mat-error> <mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field> </mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.field) as fd" <mat-form-field *ngIf="getFormControl(formDefinition.field) as fd"
...@@ -48,7 +52,9 @@ ...@@ -48,7 +52,9 @@
[solidifyValidation]="errors" [solidifyValidation]="errors"
matInput matInput
> >
<mat-error #errors></mat-error> <mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field> </mat-form-field>
<ng-container *ngFor="let language of languages"> <ng-container *ngFor="let language of languages">
...@@ -63,7 +69,9 @@ ...@@ -63,7 +69,9 @@
[solidifyValidation]="errors" [solidifyValidation]="errors"
matInput matInput
> >
<mat-error #errors></mat-error> <mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field> </mat-form-field>
</ng-container> </ng-container>
...@@ -91,7 +99,9 @@ ...@@ -91,7 +99,9 @@
min="1" min="1"
type="number" type="number"
> >
<mat-error #errors></mat-error> <mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field> </mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.facetLimit) as fd" <mat-form-field *ngIf="getFormControl(formDefinition.facetLimit) as fd"
...@@ -107,7 +117,9 @@ ...@@ -107,7 +117,9 @@
min="1" min="1"
type="number" type="number"
> >
<mat-error #errors></mat-error> <mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field> </mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.facetDefaultVisibleValues) as fd" <mat-form-field *ngIf="getFormControl(formDefinition.facetDefaultVisibleValues) as fd"
...@@ -122,7 +134,9 @@ ...@@ -122,7 +134,9 @@
min="0" min="0"
type="number" type="number"
> >
<mat-error #errors></mat-error> <mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field> </mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.facetOrder) as fd" <mat-form-field *ngIf="getFormControl(formDefinition.facetOrder) as fd"
...@@ -138,7 +152,9 @@ ...@@ -138,7 +152,9 @@
min="0" min="0"
type="number" type="number"
> >
<mat-error #errors></mat-error> <mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field> </mat-form-field>
</ng-template> </ng-template>
......
...@@ -31,7 +31,9 @@ ...@@ -31,7 +31,9 @@
autofocus autofocus
matInput matInput
> >
<mat-error #errors></mat-error> <mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field> </mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.description) as fd" <mat-form-field *ngIf="getFormControl(formDefinition.description) as fd"
...@@ -49,7 +51,9 @@ ...@@ -49,7 +51,9 @@
matInput matInput
> >
</textarea> </textarea>
<mat-error #errors></mat-error> <mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field> </mat-form-field>
<solidify-url-input-navigator *ngIf="getFormControl(formDefinition.url) as fd" <solidify-url-input-navigator *ngIf="getFormControl(formDefinition.url) as fd"
......
...@@ -18,7 +18,9 @@ ...@@ -18,7 +18,9 @@
[solidifyValidation]="errors" [solidifyValidation]="errors"
matInput matInput
> >
<mat-error #errors></mat-error> <mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field> </mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.openLicenseId) as fd" <mat-form-field *ngIf="getFormControl(formDefinition.openLicenseId) as fd"
...@@ -33,7 +35,9 @@ ...@@ -33,7 +35,9 @@
[solidifyValidation]="errors" [solidifyValidation]="errors"
matInput matInput
> >
<mat-error #errors></mat-error> <mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field> </mat-form-field>
<solidify-url-input-navigator *ngIf="getFormControl(formDefinition.url) as fd" <solidify-url-input-navigator *ngIf="getFormControl(formDefinition.url) as fd"
...@@ -57,7 +61,9 @@ ...@@ -57,7 +61,9 @@
{{odConformance.value | translate}} {{odConformance.value | translate}}
</mat-option> </mat-option>
</mat-select> </mat-select>
<mat-error #errors></mat-error> <mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field> </mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.osdConformance) as fd" <mat-form-field *ngIf="getFormControl(formDefinition.osdConformance) as fd"
...@@ -76,7 +82,9 @@ ...@@ -76,7 +82,9 @@
{{osdConformance.value | translate}} {{osdConformance.value | translate}}
</mat-option> </mat-option>
</mat-select> </mat-select>
<mat-error #errors></mat-error> <mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field> </mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.maintainer) as fd" <mat-form-field *ngIf="getFormControl(formDefinition.maintainer) as fd"
...@@ -90,7 +98,9 @@ ...@@ -90,7 +98,9 @@
[solidifyValidation]="errors" [solidifyValidation]="errors"
matInput matInput
> >
<mat-error #errors></mat-error> <mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field> </mat-form-field>
<mat-checkbox [formControlName]="formDefinition.isGeneric" <mat-checkbox [formControlName]="formDefinition.isGeneric"
...@@ -108,7 +118,9 @@ ...@@ -108,7 +118,9 @@
[solidifyValidation]="errors" [solidifyValidation]="errors"
matInput matInput
> >
<mat-error #errors></mat-error> <mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field> </mat-form-field>
...@@ -132,7 +144,9 @@ ...@@ -132,7 +144,9 @@
{{status.value | translate}} {{status.value | translate}}
</mat-option> </mat-option>
</mat-select> </mat-select>
<mat-error #errors></mat-error> <mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field> </mat-form-field>
<mat-checkbox [formControlName]="formDefinition.domainContent" <mat-checkbox [formControlName]="formDefinition.domainContent"
......
...@@ -22,7 +22,9 @@ ...@@ -22,7 +22,9 @@
autofocus autofocus
matInput matInput
> >
<mat-error #errors></mat-error> <mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field> </mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.description) as fd" <mat-form-field *ngIf="getFormControl(formDefinition.description) as fd"
...@@ -37,7 +39,9 @@ ...@@ -37,7 +39,9 @@
matInput matInput
rows="4" rows="4"
></textarea> ></textarea>
<mat-error #errors></mat-error> <mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field> </mat-form-field>
<solidify-url-input-navigator *ngIf="getFormControl(formDefinition.url) as fd" <solidify-url-input-navigator *ngIf="getFormControl(formDefinition.url) as fd"
...@@ -59,7 +63,9 @@ ...@@ -59,7 +63,9 @@
matInput matInput
rows="18" rows="18"
></textarea> ></textarea>
<mat-error #errors></mat-error> <mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field> </mat-form-field>
<ng-container *ngIf="readonly"> <ng-container *ngIf="readonly">
...@@ -109,7 +115,9 @@ ...@@ -109,7 +115,9 @@
{{format.value | translate}} {{format.value | translate}}
</mat-option> </mat-option>
</mat-select> </mat-select>
<mat-error #errors></mat-error> <mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field> </mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.version) as fd" <mat-form-field *ngIf="getFormControl(formDefinition.version) as fd"
...@@ -124,7 +132,9 @@ ...@@ -124,7 +132,9 @@
[solidifyValidation]="errors" [solidifyValidation]="errors"
matInput matInput
> >
<mat-error #errors></mat-error> <mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field> </mat-form-field>
<button (click)="fileInput.click()" <button (click)="fileInput.click()"
......
...@@ -21,7 +21,9 @@ ...@@ -21,7 +21,9 @@
[solidifyValidation]="errors" [solidifyValidation]="errors"
matInput matInput
> >
<mat-error #errors></mat-error> <mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field> </mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.description) as fd" <mat-form-field *ngIf="getFormControl(formDefinition.description) as fd"
...@@ -35,7 +37,9 @@ ...@@ -35,7 +37,9 @@
[solidifyValidation]="errors" [solidifyValidation]="errors"
matInput matInput
> >
<mat-error #errors></mat-error> <mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field> </mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.spec) as fd" <mat-form-field *ngIf="getFormControl(formDefinition.spec) as fd"
...@@ -53,7 +57,9 @@ ...@@ -53,7 +57,9 @@
aria-label="spec input" aria-label="spec input"
matInput matInput
> >
<mat-error #errors></mat-error> <mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>