Template error Type 'AbstractControl' is not assignable to type 'FormControl'

Discussão em 'Angular' iniciado por Bellash, Março 19, 2025.

  1. Bellash

    Bellash Guest

    Why am I getting this error?

    The following code works in another application

    <input class="form-control form-control-sm" type="number" min="0"
    [formControl]='invoiceForm.get("quantity")'>


    in this new application it works too but still complaining in the terminal

    Type 'AbstractControl' is not assignable to type 'FormControl'.

    Continue reading...

Compartilhe esta Página