mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
test(angular): form group is not null
This commit is contained in:
@@ -37,7 +37,7 @@ export class ModalExampleComponent implements OnInit, ViewWillLeave, ViewDidEnte
|
||||
}
|
||||
|
||||
setSelect(value: null | undefined) {
|
||||
this.form.get('select').setValue(value);
|
||||
this.form.get('select')!.setValue(value);
|
||||
}
|
||||
|
||||
ionViewWillEnter() {
|
||||
|
||||
Reference in New Issue
Block a user