[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:
parent
1619cb6f2b
commit
d395ca5bc5
|
@ -50,14 +50,14 @@ export interface Option {
|
||||||
<ng-template [ngIf]="type === 'text' || type === 'URL' || type === 'logoURL'">
|
<ng-template [ngIf]="type === 'text' || type === 'URL' || type === 'logoURL'">
|
||||||
<div [ngClass]="inputClass"
|
<div [ngClass]="inputClass"
|
||||||
[class.uk-form-danger]="formControl.invalid && formControl.touched"
|
[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">
|
<input #input class="uk-input" [placeholder]="placeholder" [formControl]="formControl">
|
||||||
</div>
|
</div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template [ngIf]="type === 'textarea'">
|
<ng-template [ngIf]="type === 'textarea'">
|
||||||
<div [ngClass]="inputClass" class="uk-padding-remove-right"
|
<div [ngClass]="inputClass" class="uk-padding-remove-right"
|
||||||
[class.uk-form-danger]="formControl.invalid && formControl.touched"
|
[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"
|
<textarea class="uk-textarea"
|
||||||
[rows]="rows" [placeholder]="placeholder"
|
[rows]="rows" [placeholder]="placeholder"
|
||||||
[formControl]="formControl">
|
[formControl]="formControl">
|
||||||
|
|
Loading…
Reference in New Issue