Sep 4, 2018 · 1 min read
Hi Harris, this might be because there is no nativeElement in your reactive form. The element does not exist in the DOM! You’ll want to do something that relates to your formgroup’s specific field.
Something along the lines of setting your viewChild to the FormField you create on the fly and then set that item’s element to focus().
