How to use dynamic variables in ngModel?
I am trying to use the code below but the following error appears:
Let's say you have the following component
export class AppComponent { qtd1 = 'qtd1'; qtd2 = 'qtd2'; qtd3 = 'qtd3'; }
Then your template might look like:
Plunker Example