[Library | Trunk]: Input fix tooltip on disable status

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60824 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
k.triantafyllou 2021-04-09 13:05:06 +00:00
parent 1619cb6f2b
commit d395ca5bc5
1 changed files with 2 additions and 2 deletions

View File

@ -50,14 +50,14 @@ export interface Option {
<ng-template [ngIf]="type === 'text' || type === 'URL' || type === 'logoURL'">
<div [ngClass]="inputClass"
[class.uk-form-danger]="formControl.invalid && formControl.touched"
[attr.uk-tooltip]="formControl.disabled?'title: This field is not editable; pos: bottom-left':''">
[attr.uk-tooltip]="formControl.disabled?'title: This field is not editable; pos: bottom-left':null">
<input #input class="uk-input" [placeholder]="placeholder" [formControl]="formControl">
</div>
</ng-template>
<ng-template [ngIf]="type === 'textarea'">
<div [ngClass]="inputClass" class="uk-padding-remove-right"
[class.uk-form-danger]="formControl.invalid && formControl.touched"
[attr.uk-tooltip]="formControl.disabled?'title: This field is not editable; pos: bottom-left':''">
[attr.uk-tooltip]="formControl.disabled?'title: This field is not editable; pos: bottom-left':null">
<textarea class="uk-textarea"
[rows]="rows" [placeholder]="placeholder"
[formControl]="formControl">