Team,
I have a scenario where the syncfusion dropdown control is binded using angular two way binding [(value)]="value", where value is a get set property.
_val:any;
get value(){
return _val;
}
I have a scenario where the value property change its returning values by some conditions. Since it is get set, it is always upto-date.
Where as the query and datasource of control is re-initialized when required.
The issue here is the binded value is not shown on UI if that value was not available in previous data source. (data source gets updated later)
Steps with reference to attached project:
1. Initially data source has 5 items and control shown 4th item with EmployeeID=4
2. Click on "Refresh Remote Data"
- It change the binded EmployeeID=7 (which is not available in data source and can be updated from any where else also)
- Manually update the data source to re-fetch items that should contain binded item.
Actual Result: No value shown as binded to control.
Expected Result: Since new data source has been retrieved, the binded value must be shown in the control.
Could please provide me a solution how to achieve this? I have to use get set since same control value is shown multiple places.
Thanks
Tuariq
Attachment:
Binded_Value_Not_Shown_After_Data_Source_Change_cb823897.zip