Is it possible to get native element for formControl?

Discussão em 'Angular' iniciado por fedor.belov, Agosto 13, 2025.

  1. fedor.belov

    fedor.belov Guest

    I've got Angular reactive form. I created formControls and assigned it to input fields by[formControl]=.... As I understand it creates nativeElement <-> formControl link.

    My question: is it possible to get nativeElement for formControl? I want to do something like myFormControl.nativeElement.focus()

    Continue reading...

Compartilhe esta Página