<ActionBar class="action-bar">
</ActionBar>

<StackLayout class="page page-content login">
    <Label text="Личен Номер:"></Label>
    <TextField id="userId" (returnPress)="onTap()" [(ngModel)]="userId" class="input-textbox"></TextField>
    <Button (tap)="onTap()" text="Напред" class="input-button"></Button>
</StackLayout>
<ActionBar class="action-bar">
</ActionBar>

<StackLayout class="page page-content login">
    <Label text="Личен Номер:"></Label>
    <TextField id="userId" (returnPress)="onTap()" [(ngModel)]="userId" class="input-textbox" keyboardType="phone"></TextField>
    <Button (tap)="onTap()" text="Напред" class="input-button"></Button>
</StackLayout>
Set keyboard to show only numbers
Set keyboard to show only numbers
