mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Segment Button
This commit is contained in:
@@ -29,4 +29,5 @@
|
||||
<button type="submit" button primary>Submit</button>
|
||||
</form>
|
||||
|
||||
Map mode: <b>{{form.controls.mapStyle.value}}</b>
|
||||
</ion-content>
|
||||
|
||||
@@ -12,7 +12,7 @@ class IonicApp {
|
||||
|
||||
var fb = new FormBuilder();
|
||||
this.form = fb.group({
|
||||
mapStyle: ['', Validators.required]
|
||||
mapStyle: ['hybrid', Validators.required]
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user