Revision 60824
Added by Konstantinos Triantafyllou over 3 years ago
input.component.ts | ||
---|---|---|
50 | 50 |
<ng-template [ngIf]="type === 'text' || type === 'URL' || type === 'logoURL'"> |
51 | 51 |
<div [ngClass]="inputClass" |
52 | 52 |
[class.uk-form-danger]="formControl.invalid && formControl.touched" |
53 |
[attr.uk-tooltip]="formControl.disabled?'title: This field is not editable; pos: bottom-left':''">
|
|
53 |
[attr.uk-tooltip]="formControl.disabled?'title: This field is not editable; pos: bottom-left':null">
|
|
54 | 54 |
<input #input class="uk-input" [placeholder]="placeholder" [formControl]="formControl"> |
55 | 55 |
</div> |
56 | 56 |
</ng-template> |
57 | 57 |
<ng-template [ngIf]="type === 'textarea'"> |
58 | 58 |
<div [ngClass]="inputClass" class="uk-padding-remove-right" |
59 | 59 |
[class.uk-form-danger]="formControl.invalid && formControl.touched" |
60 |
[attr.uk-tooltip]="formControl.disabled?'title: This field is not editable; pos: bottom-left':''">
|
|
60 |
[attr.uk-tooltip]="formControl.disabled?'title: This field is not editable; pos: bottom-left':null">
|
|
61 | 61 |
<textarea class="uk-textarea" |
62 | 62 |
[rows]="rows" [placeholder]="placeholder" |
63 | 63 |
[formControl]="formControl"> |
Also available in: Unified diff
[Library | Trunk]: Input fix tooltip on disable status