26 lines
888 B
HTML
26 lines
888 B
HTML
<form (submit)="executeAction(null)" [style.max-width]="computedWidth" [style.width]="computedWidth" class="iqser-input-group">
|
|
<input
|
|
(ngModelChange)="valueChange.emit($event)"
|
|
[(ngModel)]="value"
|
|
[autocomplete]="autocomplete"
|
|
[ngModelOptions]="{ standalone: true }"
|
|
[placeholder]="placeholder"
|
|
class="with-icon mt-0"
|
|
type="text"
|
|
/>
|
|
|
|
<span *ngIf="hint" class="hint">{{ hint }}</span>
|
|
|
|
<mat-icon *ngIf="isSearch && !hasContent" class="icon-right" svgIcon="iqser:search"></mat-icon>
|
|
|
|
<iqser-circle-button (action)="reset()" *ngIf="isSearch && hasContent" [size]="25" icon="iqser:close"></iqser-circle-button>
|
|
|
|
<iqser-circle-button
|
|
(action)="executeAction($event)"
|
|
*ngIf="!isSearch"
|
|
[disabled]="!hasContent"
|
|
[icon]="icon"
|
|
[size]="25"
|
|
></iqser-circle-button>
|
|
</form>
|