angular2-multiselect-dropdown icon indicating copy to clipboard operation
angular2-multiselect-dropdown copied to clipboard

False value binding to dropdown

Open patil-puja opened this issue 4 years ago • 1 comments

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 :

image

Can you help me how to figure this?

patil-puja avatar Jun 24 '21 08:06 patil-puja

Can anyone help with this?

patil-puja avatar Jun 29 '21 18:06 patil-puja