1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

Angular Template Error when using Signals

Discussão em 'Angular' iniciado por realShao, Setembro 10, 2024.

  1. realShao

    realShao Guest

    I wanna switch from @Input/@Output to Signals in my Code. But if i change @Input to a signal "test = input.required();" the template dont recognize the [test] anymore.

    I Am using Angular v17.3.5

    Error

    Template

    Input decleration

    The strange thing is.. it works anyways but the errors are kinda annoying. Any Solution ?

    EDIT:

    App Module

    More condensed NgModule Where u can see that both Child and Parent Component are declared.

    Parent Component Declaration

    Continue reading...

Compartilhe esta Página