Answers for "enter event input angular"

4

angular input press enter

<form [formGroup]="myForm">
    <div formArrayName="things">
        <div *ngFor="let thing of things.controls; let i=index">
            <label [for]="'input' + i">Thing {{i}}:</label>
            <input type="text" [formControlName]="i" [name]="'input' + i" [id]="'input' + i" (keyup.enter)=""  />
        </div>
    </div>
</form>
Posted by: Guest on July-17-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language