mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ACS-4106] changed place of mat-error tag & style change (#8368)
This commit is contained in:
committed by
GitHub
parent
ebabcf2c2b
commit
6e835893ca
@@ -52,14 +52,6 @@
|
||||
</mat-form-field>
|
||||
</div>
|
||||
|
||||
<mat-error [attr.data-automation-id]="'card-textitem-error-' + property.key"
|
||||
class="adf-textitem-editable-error"
|
||||
*ngIf="isEditable && hasErrors">
|
||||
<ul>
|
||||
<li *ngFor="let error of errors">{{ error.message | translate: error }}</li>
|
||||
</ul>
|
||||
</mat-error>
|
||||
|
||||
<div *ngSwitchCase="'chipsTemplate'"
|
||||
class="adf-property-field adf-textitem-chip-list-container">
|
||||
<mat-chip-list #chipList
|
||||
@@ -131,6 +123,14 @@
|
||||
<ng-container *ngTemplateOutlet="label"></ng-container>
|
||||
<span class="adf-textitem-default-value">{{ property.default | translate }}</span>
|
||||
</div>
|
||||
|
||||
<mat-error [attr.data-automation-id]="'card-textitem-error-' + property.key"
|
||||
class="adf-textitem-editable-error"
|
||||
*ngIf="isEditable && hasErrors">
|
||||
<ul>
|
||||
<li *ngFor="let error of errors">{{ error.message | translate: error }}</li>
|
||||
</ul>
|
||||
</mat-error>
|
||||
</div>
|
||||
|
||||
<ng-template #label>
|
||||
|
@@ -80,7 +80,7 @@
|
||||
|
||||
&-error {
|
||||
font-size: var(--theme-caption-font-size);
|
||||
padding-top: 4px;
|
||||
padding-top: 6px;
|
||||
|
||||
ul {
|
||||
margin: 0;
|
||||
|
Reference in New Issue
Block a user