Country upgrade
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
|
||||
<ion-item lines="none">
|
||||
<ion-select (ionChange)="verReg()" label="Select Country" placeholder="Select Country" [(ngModel)]='country'>
|
||||
<ion-select-option *ngFor="let item of signupCountry" value="{{item[0]}}">{{item[1]}}</ion-select-option>
|
||||
<ion-select-option *ngFor="let item of signupCountry" value="{{item.code}}">{{item.country}}</ion-select-option>
|
||||
<!-- <ion-select-option value="NG">Nigeria</ion-select-option>-->
|
||||
<!-- <ion-select-option value="US">United States</ion-select-option>-->
|
||||
</ion-select>
|
||||
|
||||
@@ -77,7 +77,7 @@ export class RegisterPage implements OnInit {
|
||||
}
|
||||
this.wrenchService.signUpCountry(reqD).subscribe((result)=>{
|
||||
|
||||
this.signupCountry = result.signup_country;
|
||||
this.signupCountry = result.result_list;
|
||||
console.log("this.signupCountry == > " ,this.signupCountry);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user