0
I’m trying to use data from an Array to place on an object.. for example:
lembreteSistemaList = LembreteSistema [] = [];
lembreteSistema = LembreteSistema = new LembreteSistema();
recuperarLembrete () {
...
.subscribe((lembreteSistemaVar: Array <LembreteSistema> ) => {
this.lembreteSistemaList = lembreteSistemaVar
}
wanna get this reminderSistemaList and place inside the reminderSystem so that in html you can use it like this
<textarea class="form-control" id="message-text"> {{ lembreteSistema.nome }} </textarea>
Obs: I’ve tried *ngFor in html but it didn’t work..