@jotaeme93 wrote:
How do you create a text input that submits the info when the enter button is pressed? I've seen this solution:
<form (ngSubmit)="crearJugador()">
<ion-input class="inputNombresAndroid" type=submit placeholder="Nombre del jugador" [(ngModel)]="nombre" name="inputNombre">{{nombre}}</ion-input>
</form>
but it doesn't seem to work. Am I missing something?
Thanks
Posts: 1
Participants: 1