Advanced Forms & Validation in Ionic 2



By - Josh Morony

You may be familiar with using [(ngModel)] to set up two way data binding between inputs in your templates, and variables in your class definition. For example you might have an input field like this:

<ion-input type="text" [(ngModel)]="myInput"></ion-input>
and then in your class definition you could access that value through:

this.myInput

In this tutorial we are going to look at a more complex, but also more powerful, way to set up forms in an Ionic 2 application. We will be building a multi stage sign up form as an example. Here’s what it will look like:

Read full articles...

Share on Google Plus

About www. codeandyou.com

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment

0 comments :

Post a Comment