Input: Make error text-small

This commit is contained in:
Konstantinos Triantafyllou 2023-10-12 13:10:02 +03:00
parent 1bfff3b05c
commit dbbd7ec541
1 changed files with 4 additions and 4 deletions

View File

@ -231,10 +231,10 @@ declare var UIkit;
</div>
</mobile-dropdown>
</div>
<span *ngIf="formControl?.invalid && formControl?.touched" class="uk-text-danger">
<span *ngIf="errors?.error">{{errors?.error}}</span>
<span *ngIf="type === 'URL' || type === 'logoURL'">Please provide a valid URL (e.g. https://example.com)</span>
</span>
<span *ngIf="formControl?.invalid && formControl?.touched" class="uk-text-small uk-text-danger">
<span *ngIf="errors?.error">{{errors?.error}}</span>
<span *ngIf="type === 'URL' || type === 'logoURL'">Please provide a valid URL (e.g. https://example.com)</span>
</span>
<span class="uk-text-small uk-text-danger">
<ng-content select="[error]"></ng-content>
</span>