Country upgrade

This commit is contained in:
CHIEFSOFT\ameye
2023-12-17 08:25:57 -05:00
parent 16ddd20666
commit ab435d7d87
4 changed files with 114 additions and 24 deletions
+1 -1
View File
@@ -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>
+1 -1
View File
@@ -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);
});
}