Input type doesn't work on ios?

In short, my problem is:

I want to validate the user input, for that, I use HTML5:

  <ion-content nopadding>
    <div *ngIf="buttonClicked && (DropdownVar === 2)" class="">
    <button ion-button full (click)="onButtonClick()" > Cancelar</button>
            <ion-label color="primary" stacked>Nome</ion-label>
            <ion-input type="text"  ></ion-input>
            <ion-label color="primary" stacked> Nif </ion-label>
            <ion-input type="number" ></ion-input>
  <button id="BenClick" ion-button full (click)="callAll(onSelect())">Inserir Bem</button>



Can anyone tell me why or how can i validate the user input?
Is this issue normal?
Thanks in advance.

Try it on an actual device (iPhone) and see if it works.

Does emulating through Xcode or through iPhone make any difference?