Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 231254

How to get value from ng module

$
0
0

@mm Sir getUser.user_name value carry the json response.how can i change. if i changed ng module name is not showing the value into the text field.

This is my HTM

<ion-list *ngIf="getUser">
  <ion-item>
    <ion-label floating>Name</ion-label>
    <ion-input  type="text" [(ngModel)]="getUser.user_name" name="name1"></ion-input>
  </ion-item>

  <ion-item>
    <ion-label floating>Email</ion-label>
    <ion-input  type="Email" [(ngModel)]="getUser.user_email" name="email"></ion-input>
  </ion-item>

  <ion-item>
    <ion-label floating>Phone</ion-label>
    <ion-input  type="text" [(ngModel)]="getUser.user_phone" name="phone"></ion-input>
  </ion-item>

  <ion-item>
    <ion-label floating>Password</ion-label>
    <ion-input  type="text" [(ngModel)]="getUser.user_password" name="password"></ion-input>
  </ion-item>
  <button ion-button full (click)="editProfile();" color="danger">Edit</button>
  </ion-list>

Thanks


Viewing all articles
Browse latest Browse all 231254

Trending Articles