When a user creates a post, they have the ability to select from a list of potential users that the post can be sent to. Users are then allowed to edit the post, however, I am now dealing with two objects: one has a list of all potential users and the other a list of users that were selected when the post was created.
My question: When editing the post, how can I have it that all potential users are an option but the users selected at creation of the post are already selected?
<ion-select [(ngModel)]="post.To" [ngModelOptions]="{standalone: true}" multiple="true" cancelText="Cancel" okText="OK">
<ion-option *ngFor="let member of members.PotentialPeople" [value]="member">
{{ member.Name }}
</ion-option>
</ion-select>