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 @@
[solidifyValidation]="errors"
matInput
>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.lastName) as fd"
......@@ -24,7 +26,9 @@
[solidifyValidation]="errors"
matInput
>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.homeOrganization) as fd"
......@@ -38,7 +42,9 @@
[solidifyValidation]="errors"
matInput
>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.email) as fd"
......@@ -52,7 +58,9 @@
[solidifyValidation]="errors"
matInput
>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.applicationRole) as fd"
......@@ -71,6 +79,8 @@
{{role | translate}}
</mat-option>
</mat-select>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
</form>
......@@ -19,7 +19,9 @@
[solidifyValidation]="errors"
matInput
>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.destinationServer) as fd"
......@@ -33,7 +35,9 @@
[solidifyValidation]="errors"
matInput
>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.subFolder) as fd"
......@@ -47,7 +51,9 @@
[solidifyValidation]="errors"
matInput
>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
</ng-template>
......@@ -70,7 +76,9 @@
{{type}}
</mat-option>
</mat-select>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
</ng-template>
......
......@@ -22,7 +22,9 @@
matInput
>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.name) as fd"
......@@ -37,7 +39,9 @@
[solidifyValidation]="errors"
matInput
>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.description) as fd"
......@@ -51,7 +55,9 @@
[solidifyValidation]="errors"
matInput
></textarea>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
</ng-template>
......
......@@ -20,7 +20,9 @@
[solidifyValidation]="errors"
matInput
>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.alias) as fd"
......@@ -34,7 +36,9 @@
[solidifyValidation]="errors"
matInput
>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.field) as fd"
......@@ -48,7 +52,9 @@
[solidifyValidation]="errors"
matInput
>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
<ng-container *ngFor="let language of languages">
......@@ -63,7 +69,9 @@
[solidifyValidation]="errors"
matInput
>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
</ng-container>
......@@ -91,7 +99,9 @@
min="1"
type="number"
>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.facetLimit) as fd"
......@@ -107,7 +117,9 @@
min="1"
type="number"
>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.facetDefaultVisibleValues) as fd"
......@@ -122,7 +134,9 @@
min="0"
type="number"
>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.facetOrder) as fd"
......@@ -138,7 +152,9 @@
min="0"
type="number"
>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
</ng-template>
......
......@@ -31,7 +31,9 @@
autofocus
matInput
>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.description) as fd"
......@@ -49,7 +51,9 @@
matInput
>
</textarea>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
<solidify-url-input-navigator *ngIf="getFormControl(formDefinition.url) as fd"
......
......@@ -18,7 +18,9 @@
[solidifyValidation]="errors"
matInput
>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.openLicenseId) as fd"
......@@ -33,7 +35,9 @@
[solidifyValidation]="errors"
matInput
>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
<solidify-url-input-navigator *ngIf="getFormControl(formDefinition.url) as fd"
......@@ -57,7 +61,9 @@
{{odConformance.value | translate}}
</mat-option>
</mat-select>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.osdConformance) as fd"
......@@ -76,7 +82,9 @@
{{osdConformance.value | translate}}
</mat-option>
</mat-select>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.maintainer) as fd"
......@@ -90,7 +98,9 @@
[solidifyValidation]="errors"
matInput
>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
<mat-checkbox [formControlName]="formDefinition.isGeneric"
......@@ -108,7 +118,9 @@
[solidifyValidation]="errors"
matInput
>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
......@@ -132,7 +144,9 @@
{{status.value | translate}}
</mat-option>
</mat-select>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
<mat-checkbox [formControlName]="formDefinition.domainContent"
......
......@@ -22,7 +22,9 @@
autofocus
matInput
>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.description) as fd"
......@@ -37,7 +39,9 @@
matInput
rows="4"
></textarea>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
<solidify-url-input-navigator *ngIf="getFormControl(formDefinition.url) as fd"
......@@ -59,7 +63,9 @@
matInput
rows="18"
></textarea>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
<ng-container *ngIf="readonly">
......@@ -109,7 +115,9 @@
{{format.value | translate}}
</mat-option>
</mat-select>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.version) as fd"
......@@ -124,7 +132,9 @@
[solidifyValidation]="errors"
matInput
>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
<button (click)="fileInput.click()"
......
......@@ -21,7 +21,9 @@
[solidifyValidation]="errors"
matInput
>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.description) as fd"
......@@ -35,7 +37,9 @@
[solidifyValidation]="errors"
matInput
>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.spec) as fd"
......@@ -53,7 +57,9 @@
aria-label="spec input"
matInput
>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.query) as fd"
......@@ -71,7 +77,9 @@
aria-label="query input"
matInput
>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
</ng-template>
......
......@@ -13,7 +13,9 @@
[solidifyValidation]="errors"
matInput
>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
</form>
</solidify-base-action-dialog>
......
......@@ -13,7 +13,9 @@
[solidifyValidation]="errors"
matInput
>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.description) as fd"
......@@ -30,6 +32,8 @@
cdkTextareaAutosize
matInput
></textarea>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
</form>
......@@ -32,7 +32,9 @@
[solidifyValidation]="errors"
matInput
>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
<solidify-multi-select (navigate)="navigateToSubmissionPolicy($event)"
......@@ -109,7 +111,9 @@
matInput
>
</textarea>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
<solidify-searchable-multi-select (navigate)="navigateToFundingAgency($event)"
......
......@@ -21,7 +21,7 @@
matInput
solidifyValidation
>
<mat-error>{{formValidationHelper.getFormError(fd)}}</mat-error>
<mat-error solidifyTooltipOnEllipsis>{{formValidationHelper.getFormError(fd)}}</mat-error>
</mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.lastName) as fd"
......@@ -35,7 +35,7 @@
matInput
solidifyValidation
>
<mat-error>{{formValidationHelper.getFormError(fd)}}</mat-error>
<mat-error solidifyTooltipOnEllipsis>{{formValidationHelper.getFormError(fd)}}</mat-error>
</mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.orcid) as fd"
......@@ -50,7 +50,7 @@
matInput
solidifyValidation
>
<mat-error>{{formValidationHelper.getFormError(fd)}}</mat-error>
<mat-error solidifyTooltipOnEllipsis>{{formValidationHelper.getFormError(fd)}}</mat-error>
</mat-form-field>
<dlcm-shared-table-person-orgunit-role-container (navigate)="navigate($event)"
......
......@@ -20,7 +20,9 @@
[required]="formValidationHelper.hasRequiredField(fd)"
matInput
>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
<dlcm-shared-preservation-duration [formControl]="getFormControl(formDefinition.retention)"
......
......@@ -14,7 +14,9 @@
[solidifyValidation]="errors"
matInput
>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.source) as fd"
......@@ -28,7 +30,9 @@
[solidifyValidation]="errors"
matInput
>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
<mat-form-field *ngIf="getFormControl(formDefinition.code) as fd"
......@@ -42,7 +46,9 @@
[solidifyValidation]="errors"
matInput
>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
<ng-container *ngFor="let language of languages">
......@@ -58,7 +64,9 @@
matInput
>
</textarea>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
</ng-container>
<dlcm-shared-additional-information-panel-container *ngIf="model | isNotNullNorUndefined"
......
......@@ -20,7 +20,9 @@
[solidifyValidation]="errors"
matInput
>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
</ng-template>
......@@ -38,7 +40,9 @@
[solidifyValidation]="errors"
matInput
>
<mat-error #errors></mat-error>
<mat-error #errors
solidifyTooltipOnEllipsis
></mat-error>
</mat-form-field>
</ng-template>
......