vain0x / DotNetKit.Wpf.AutoCompleteComboBox

ComboBox with filtering (auto-complete) for WPF
MIT License
71 stars 26 forks source link

Fix filter affects bound source collection by adding a dedicated FilterCollection #26

Closed Fruchtzwerg94 closed 1 year ago

Fruchtzwerg94 commented 1 year ago

multiple ComboBoxes are affecting each other using the same source. This is because the same CollectionView is used under the hood:

Buggy

The PR aims to fix this by overwriting the ItemsSource property to create dedicated CollectionViewSources per control.

Fixed

Since nesting CollectionViewSource is not possible, the behaviour remains the same using CollectionViewSource as ItemsSource.

vain0x commented 1 year ago

Thank you. This is released in v1.5.0.