Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71530

Input type doesn't work on ios?

$
0
0

@Hodrin wrote:

In short, my problem is:

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

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

Result:

\

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

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71530

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>