mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 11:17:19 +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