MOBILE-2795 login: Add placeholder to country selector

main
Pau Ferrer Ocaña 2019-01-02 13:45:31 +01:00
parent 07e1f70c8f
commit 75d6cde7a4
1 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@
<ion-item text-wrap> <ion-item text-wrap>
<ion-label stacked core-mark-required="true">{{ 'core.wheredoyoulive' | translate }}</ion-label> <ion-label stacked core-mark-required="true">{{ 'core.wheredoyoulive' | translate }}</ion-label>
<ion-select name="country" formControlName="country"> <ion-select name="country" formControlName="country" [placeholder]="'core.login.selectacountry' | translate">
<ion-option value="">{{ 'core.login.selectacountry' | translate }}</ion-option> <ion-option value="">{{ 'core.login.selectacountry' | translate }}</ion-option>
<ion-option *ngFor="let key of countriesKeys" [value]="key">{{countries[key]}}</ion-option> <ion-option *ngFor="let key of countriesKeys" [value]="key">{{countries[key]}}</ion-option>
</ion-select> </ion-select>
@ -101,7 +101,7 @@
</ion-item> </ion-item>
<ion-item text-wrap> <ion-item text-wrap>
<ion-label stacked id="core-login-signup-country">{{ 'core.user.country' | translate }}</ion-label> <ion-label stacked id="core-login-signup-country">{{ 'core.user.country' | translate }}</ion-label>
<ion-select name="country" formControlName="country" aria-labelledby="core-login-signup-country"> <ion-select name="country" formControlName="country" aria-labelledby="core-login-signup-country" [placeholder]="'core.login.selectacountry' | translate">
<ion-option value="">{{ 'core.login.selectacountry' | translate }}</ion-option> <ion-option value="">{{ 'core.login.selectacountry' | translate }}</ion-option>
<ion-option *ngFor="let key of countriesKeys" [value]="key">{{countries[key]}}</ion-option> <ion-option *ngFor="let key of countriesKeys" [value]="key">{{countries[key]}}</ion-option>
</ion-select> </ion-select>