Accept input and show to user

I want to accept input from user and display the same on html.

Can you please show some initial code you have and probably a sample of what exactly you want to achieve for us to be able to help you. Thanks :slight_smile:

I actually have no idea I just want to do it…
I accept input via

<ion-input type=“text” [(ngModel)]=“name” (keydown)=“onClick($event)” text-right id=“input”></ion-input>

thanks for an early reply.

1 Like

How do you wanna display it?

I have no idea of what are you up to or what you want to achieve but here is a simple snippet that displays the inputted text while the user is typing.

<ion-input type=“text” [(ngModel)]=“name” text-right id=“input”></ion-input>
<p>{{name}}</p>

Let me know if this solved your problem. Fighting~! :slight_smile: