The documented examples here are simple, the kind I wished to have come across on the web during my early days with Ionic 2 forms.
Understanding the basics are crucial in every tool. Many tutorials and blogs online took Ionic 2 forms (and Angularjs 2 forms in general) in a relatively complex manner which made it way too harder for someone like myself to come to terms with the shift.
I put what I learn here (with rants on myBlog) to help myself now and for future projects, plus, perhaps, assist incoming Ionic 2 ionizers to get up and running in a basic way, with the understanding and background in Ionic 2 forms, enough to let them go out there, power on the Hadron Collider, and get some particles Ionized!
- See how to create basic form in Ionic 2, using
ngForm
,ngControl
andControlGroup
implicitly - How to use
FormBuilder
to explicitly create a form, withValidators
and other customizations
[![ionic 2 basic form][2]][2] [2]: http://i.imgur.com/Yj4H8Am.png
Test it out locally
- Clone this repo
npm install
ionic serve -l
Get ionized!