1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

How to implement ngModel on custom elements?

Discussão em 'Angular' iniciado por user1563700, Junho 17, 2025.

  1. user1563700

    user1563700 Guest

    Given a simple input element I can do this:

    <input [(ngModel)]="name" /> {{ name }}


    This doesn't work for my custom elements:

    <my-selfmade-combobox [(ngModel)]="name" values="getValues()" required></my-selfmade-combobox>


    How can I implement it?

    Continue reading...

Compartilhe esta Página