i am creating a login page. i have the username and password input and a login button. in my typescript i have a login function that makes a get request to the server. however. i am unable to feed the get request with the data entered by the user from the input. my code and further explanation is in the comments. somebody please help.
this is my html page
<ion-input [(ngModel)]=“username” placeholder=“Username”>
<ion-input [(ngModel)]=“password” placeholder=“password”>