Wrap input with action in form

This commit is contained in:
Adina Țeudan 2022-01-15 19:18:38 +02:00
parent a1c1be7edc
commit 795a273c9c

View File

@ -1,8 +1,9 @@
<div [style.max-width]="computedWidth" [style.width]="computedWidth" class="iqser-input-group"> <form [style.max-width]="computedWidth" [style.width]="computedWidth" class="iqser-input-group">
<input <input
[(ngModel)]="value"
(ngModelChange)="valueChange.emit($event)" (ngModelChange)="valueChange.emit($event)"
[(ngModel)]="value"
[autocomplete]="autocomplete" [autocomplete]="autocomplete"
[ngModelOptions]="{ standalone: true }"
[placeholder]="placeholder" [placeholder]="placeholder"
class="with-icon mt-0" class="with-icon mt-0"
type="text" type="text"
@ -22,4 +23,4 @@
[isSubmit]="true" [isSubmit]="true"
[size]="25" [size]="25"
></iqser-circle-button> ></iqser-circle-button>
</div> </form>