Welcome to the Xamarin.Forms feedback portal. We’re happy you’re here! If you have feedback on how to improve the Xamarin.Forms, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

on UWP:


When you bind/set ObservableCollection> to the combobox.datasource, or similar, and you pick item in combobox by clicking on it, whole xamarin application crash.


How to reproduce code in attachment


Xamarin 4.x




Edited:


Yes:, it is ObservableCollection<>

Yes: same model works on SfGrid and SfList.


To be sure: It is a feature, that ObservableCollection (where "object" is any kind of class, especially keypair or dictionary) cannot be used only in SfComboBox at all?


Added seccond example, based on sfcombobox documentation and datasource is assigned to combobox like this:


ComboViewModel combodata = new ComboViewModel();

comboBox.BindingContext = combodata;

comboBox.DataSource =

combodata.ComboTestDict;

comboBox.DisplayMemberPath = "Values[ColA]";

comboBox.SelectedValuePath = "Values[ColA]"; //this definition is causes troubles;

no matter if it is implemented with


INotifyPropertyChanged

or not



If any more information is required, just ask that would help you. Thank you