Input: Make error text-small
This commit is contained in:
parent
1bfff3b05c
commit
dbbd7ec541
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue