This commit is contained in:
Max Lynch
2015-05-08 15:44:41 -05:00
parent 966a02900d
commit e7534060ab
3 changed files with 55 additions and 24 deletions

View File

@ -9,6 +9,16 @@ import {IONIC_DIRECTIVES} from 'ionic/ionic'
})
class IonicApp {
constructor() {
var fb = new FormBuilder();
this.form = fb.group({
mapStyle: ['', Validators.required]
});
}
doSubmit(event) {
console.log('Submitting form', this.form.value);
event.preventDefault();
}
}