I am writing an application using ionic where I have an input field that must take a positive integer number. I have looked up the types here
<ion-item>
<ion-input #input type="number" min="0" inputmode="numeric" [(ngModel)]="..." pattern="[0-9]" required placeholder="Access Code"></ion-input>
</ion-item>
Now my problem is that on iOS the numeric input is the FULL numbered keyboard (I can use mathematical symbols). For iOS I want to use the
tel
type but for android I want to keep the
number
input type. Is there a way I can do this without making 2 separate html pages for each platform?