Using @ViewChild to get hold of the .nativeElement of an input returns 'undefined' Using @ViewChild to get hold of the .nativeElement of an input returns 'undefined' typescript typescript