Hi Team,
I'm using library in my application and found one issue.
<angular2-multiselect [data]="agentIDs" formControlName="caseOwnerId" [settings]="dropdownSettings">
Above is my HTML, using this with reactive form, and in TS binding value from JAVA response like below :
caseOwnerId: [[{'id': this.wbData['caseOwnerCecId'], 'itemName': this.wbData['caseOwnerCecId']}], [Validators.required]],
And even if value not present in dropdown list i.e. agentIDs its showing on UI. attaching opuput below :
Hi Team, I'm using library in my application and found one issue. <angular2-multiselect [data]="agentIDs" formControlName="caseOwnerId" [settings]="dropdownSettings"> Above is my HTML, using this with reactive form, and in TS binding value from JAVA response like below : caseOwnerId: [[{'id': this.wbData['caseOwnerCecId'], 'itemName': this.wbData['caseOwnerCecId']}], [Validators.required]], And even if value not present in dropdown list i.e. agentIDs its showing on UI. attaching opuput below :
Can you help me how to figure this?