misha130 / ionic2-numericpicker

Numeric picker for ionic2
MIT License
0 stars 1 forks source link

Blank component running android #1

Open dacodemaniak opened 7 years ago

dacodemaniak commented 7 years ago

First sorry for my poor english... but have install the component and run it as follow <ion-label>{{ 'forms.product.quantity' | translate }}</ion-label> <ion-numeric item-content mode="" displayFormat="xx" formControlName="quantity" [(ngModel)]="quantity" min="1" doneText="{{ 'forms.product.pickArea' | translate }}" cancelText="{{ 'forms.product.cancel' | translate }}"></ion-numeric> </ion-item> On snap component appear but buttons are not visible, only doneText and CancelText but nothing else... Any idea ?

Regards

misha130 commented 7 years ago

I think the problem is you should remove the ' from cancelText="{{ 'forms.product.cancel' | translate }}" So: cancelText="{{ forms.product.cancel | translate }}

Anyway I tested it locally to see if it works for me and it does.

dacodemaniak commented 7 years ago

Will try this suggestion... Thx