How to access input fields of injected form component
问题 I inject a component with an input form into a ionic2 form, both created with formBuilder. From the address input component (search-map.ts): @Component({ selector: 'search-map', templateUrl: 'search-map.html' }) @NgModule({ schemas: [ CUSTOM_ELEMENTS_SCHEMA ] }) export class SearchMap { public searchMapForm = this.formBuilder.group({ country: ["DE"], postcode: ["", this.searchCont], city: [""], }); (...) Inserted into the HTML of the base form (signup.html): (...) <ion-item> <ion-label