Hi vin,
Thanks for contacting Syncfusion support.
Based on the provided information, we suspect that the preselected value is updated to the component before the data is fetched from asynchronously. So that the provided Id for value property will search for corresponding text and if it is not found, will update the Id to the component. We suggest you to update the value property after the data is assigned to datasource property as like below code nsippet.
<ejs-dropdownlist #dropdownlistObj [dataSource]='itemTags | async' placeholder='Workshop.ITEM_GROUP' (filtering)="onFiltering($event)" [allowFiltering]='true' [filterType]="filterType" floatLabelType='Auto'
[showClearButton]="true" [fields]='fields' [value]='value'></ejs-dropdownlist>
ngOnInit(): void {
this.itemTags = this.dataService.fetch('');
this.value = 'Game6';
} |
If issue still exists in your end, please revert us with additional information like when you are updating the preselected value to component, share code snippet and if possible share simple issue replicating sample, which helps us to check and provide you the solution at earliest.
Regards,
Ponmani M