0
Imagine the following scenario in Ionic 4: I have an ion-input for the user to enter a Ticket number. I want to store this value in a variable in the component class and then use it to pass as route parameter.
In this context, I am not able to store the value typed in the ion-input variable, someone knows how to do this?
great, I knew it was easy, I forgot about the "name" rsrs Thanks! Now my Template looks like this: <ion-input type="text" name="ticket" [(ngModel)]="ticket"></ion-input>
– João Paulo Silva