[Library | Trunk]: Input component: Remove uk-text-small
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60456 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
64e032ce0c
commit
398deec477
|
@ -30,7 +30,7 @@ export interface Option {
|
|||
template: `
|
||||
<div *ngIf="label && type != 'checkbox'"
|
||||
class="uk-text-bold uk-form-label uk-margin-small-bottom">{{label + (required ? ' *' : '')}}</div>
|
||||
<div *ngIf="hint" class="uk-margin-bottom uk-text-small uk-form-hint">{{hint}}</div>
|
||||
<div *ngIf="hint" class="uk-margin-bottom uk-form-hint">{{hint}}</div>
|
||||
<div class="uk-grid uk-flex" [ngClass]="'uk-flex-' + flex" [class.uk-grid-small]="gridSmall" uk-grid>
|
||||
<ng-content></ng-content>
|
||||
<div [class.uk-hidden]="hideControl" class="uk-width-expand uk-position-relative"
|
||||
|
@ -49,15 +49,14 @@ export interface Option {
|
|||
<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':''">
|
||||
<input class="uk-input uk-text-small"
|
||||
[placeholder]="placeholder" [formControl]="formControl">
|
||||
<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':''">
|
||||
<textarea class="uk-textarea uk-text-small"
|
||||
<textarea class="uk-textarea"
|
||||
[rows]="rows" [placeholder]="placeholder"
|
||||
[formControl]="formControl">
|
||||
</textarea>
|
||||
|
@ -95,7 +94,7 @@ export interface Option {
|
|||
<span class="uk-width-expand uk-text-truncate" [class.uk-text-small]="smallChip">{{getLabel(chip.value)}}</span>
|
||||
<icon name="remove_circle" class="mat-chip-remove" [ratio]="smallChip?0.8:1" (click)="removed(i)"></icon>
|
||||
</mat-chip>
|
||||
<div class="uk-width-expand uk-position-relative uk-text-small chip-input">
|
||||
<div class="uk-width-expand uk-position-relative chip-input">
|
||||
<input #searchInput class="uk-width-1-1" [formControl]="searchControl" [matAutocomplete]="auto"
|
||||
[matChipInputFor]="chipList"
|
||||
[matChipInputAddOnBlur]="addExtraChips && searchControl.value"
|
||||
|
|
Loading…
Reference in New Issue