There is (probably) a bug with ComboBoxAdv with multi-select enabled, when removing an item from binded ItemsSource collection and the item is selected, the item still exist in SelectedItems collection and not removed, and also it cannot be removed in code (tried it as a workaround)
Just to clarify:
1) The bound collection is ObservableCollection
2) The item does dissappear from ComboBoxAdv list of items to select from, so the collection view is updated correctly, but behind the scenes the removed item is still selected and exists in SelectedItems collection of ComboBoxAdv
Thanks,
Dmitri.
Hi Dmitri,
We have confirmed the reported scenario is a defect and logged a report for the reported scenario “ComboBoxAdv SelectedItems API not updated when item removed from ItemsSource collection”. We will provide the patch for the reported issue on 18th March 2022.
You can track the status of this defect using the following feedback link:
If you have any more specification replication procedures or a scenario to be tested, you can add it as a comment in the portal.
Please let us know if you need any further assistance.
Regards,
Mahalakshmi S
Hi Dmitri,
We have fixed the reported issue - “ComboBoxAdv SelectedItems API not updated when item removed from ItemsSource collection”. Please find the patch file from the following location:
V19.4.0.38
|
Recommended approach – exe will perform automatic configuration Please find the patch setup here: Advanced approach – use only if you have specific needs and can directly replace existing assemblies for your build environment Please find the patch assemblies alone from: Please find the NuGet from the location below: |
Installation Directions:
This patch should replace the files "Syncfusion.Shared.WPF” under the following folder.
$system drive: \ Files\Syncfusion\Essential Studio\$Version # \precompiledassemblies\$Version#\[TargetFramework]
E.g.: $system drive:\Program Files\Syncfusion\Essential Studio\19.4.0.38\precompiledassemblies\19.4.0.38\4.6
To automatically run the Assembly Manager, please check the Run assembly manager checkbox option while installing the patch. If this option is unchecked, the patch will replace the assemblies in precompiled assemblies’ folder only. Then, you must manually copy and paste them to the preferred location, or you must run the Syncfusion Assembly Manager application (available from the Syncfusion Dashboard, installed as a shortcut in the Application menu) to re-install assemblies.
https://www.syncfusion.com/support/directtrac/patches
Disclaimer:
Please note that we have created this patch for version 19.4.0.38 specifically to resolve the issues reported in this forum #173182. If you have received other patches for the same version for other products. This fix will be included in our Volume 1 release which will be available in March 2022.
Please let us know if you need any further assistance.
Regards,
Mahalakshmi S