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
[(ngModel)]="value"
(ngModelChange)="valueChange.emit($event)"
[(ngModel)]="value"
[autocomplete]="autocomplete"
[ngModelOptions]="{ standalone: true }"
[placeholder]="placeholder"
class="with-icon mt-0"
type="text"
@ -22,4 +23,4 @@
[isSubmit]="true"
[size]="25"
></iqser-circle-button>
</div>
</form>