Sf AutoComplete Two way Binding is not working in UWP

I am trying to use the AutocompleteBox for two way Binding and I am Binding it with Dictionary Object. In config.Context I am getting the List which need to be binded to the autocomplete box.

SfAutoComplete autocomplete = new SfAutoComplete {
                            WidthRequest=200
                        };

                        

                        if (!String.IsNullOrEmpty(el.Config))
                        {
                            var config = JsonConvert.DeserializeObject(el.Config);

                            if (config.width != 0)
                                autocomplete.WidthRequest = config.width;
                    
                            if(!String.IsNullOrEmpty(config.Context))
                                    autocomplete.DataSource=getlist(config.Context);
                            
                        }

                       autocomplete.DisplayMemberPath = "Label";
                        autocomplete.SuggestionMode = SuggestionMode.Contains;
                        autocomplete.SuggestionBoxPlacement = SuggestionBoxPlacement.Bottom;
                        autocomplete.SetBinding(SfAutoComplete.SelectedItemProperty, string.Format("[{0}]", el.Prop), BindingMode.TwoWay);//Binding with Dictionary Object

This way I am binding the SfAutcomplete box for two way Binding.This one is working fine with Android.But with UWP It is getting the data from control to object.But the data from Object to Control is not getting Binded in UWP.

In the Config I am getting the list with Id And Values.

Please Help.

3 Replies

RB Rabhia Beham Kathar Mideenar Syncfusion Team March 23, 2018 10:36 AM UTC

Hi Shalini,

Thanks for Contacting Syncfusion Support.

We could reproduce the issue in SfAutoComplete Control in UWP Platform. We are currently fixing the reported issue and the fix will be available in Volume 1 Sp 2 release which will be rolled out in the end of April 2018.

Please let us know if you have any concern.

Regards,
Rabhia Beham K.



SH Shalini March 26, 2018 11:30 AM UTC

Thanks Rabhia for your reply.
Can u please tell me how will I use the Volume 1 sp2 after ur release.


RB Rabhia Beham Kathar Mideenar Syncfusion Team March 27, 2018 05:06 AM UTC

Hi Shalini,

Thanks for you update.

We will share the download link for Volume 1 Sp 2 release once rolled out and you can get the assemblies and NuGet with the fix which can be used in your application.

Please let us know if you have any concern.

Regards,
Rabhia Beham K.


Loader.
Up arrow icon