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

If ngModel then value is deleted

Discussão em 'Angular' iniciado por Sascha, Outubro 4, 2024.

  1. Sascha

    Sascha Guest

    If I add [(ngModel)]= to my Ionic input field, it deletes my value.

    <ion-item>
    <ion-input [(ngModel)]="CONTENT_OTHERDATA.datum" value="<% hiddentoday %>"></ion-input>
    </ion-item>


    Is there a way that I can pass the value I write in value to my script (php) using the ngModel? Passing the data works for the other fields.

    I pass the value so that I can pass it on to another script. That must work with the ngModel, right?

    Continue reading...

Compartilhe esta Página