問題タブ [ngmodel]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
angular - How to get value out of a ion-select in a nested ngFor loop?
As the title states. I have a nested ngFor
loop in my html. I am using one of these ngFor
loops in a ion-select
statement. Here is my code:
I am trying to figure out how to get the value out of *ngFor="let item of item.options"
using [(ngModel)]
.
Can anyone help me figure out this conundrum?
I got asked for my data. I have an array that I am pushing this object into: let item = { attender: member, options: [{}] };
The options portion gets a JSON object pushed into it. This might not even be possible.
Here is the total build of the data: