We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

AutoComplete: ValueChanged event does not work on iOS (Xamarin.Forms)


I have an Xamarin.Forms application with AutoComplete field on one of the form. There is a code which should be executed on ValueChanged event. It works fine on Android, however it does not work on iOS (both code does not execute and breakpoints).
I tried both my application and sample (see the code below):

autoComplete = new AutoComplete();
List<string> list = new List<string>();
autoComplete.AutoCompleteSource = list;
autoComplete.IsVisible = true;
autoComplete.AutoCompleteMode = AutoCompleteMode.SuggestAppend;
autoComplete.ValueChanged += AutoComplete_ValueChanged;
StackLayout stack = new StackLayout();
stack.Padding = new Thickness(50, 100);

this.Content = stack;

void AutoComplete_ValueChanged(object sender, Syncfusion.SfAutoComplete.XForms.ValueChangedEventArgs e)
var val = autoComplete;
var ee = e;

Please suggest how to fix it. Thanks in advance.

3 Replies

PK Pavendhan Kumar Syncfusion Team August 31, 2016 09:11 AM UTC

Hi Thomas,

The reported behaviour might occur with the lower versions of the Xamarin assemblies. Hence we suggest you to upgrade the Xamarin version to check if it resolves at your end. We have also fixed few internal issues related to SfAutoComplete control and patch for the same can be downloaded from the below link,

Please let us know if upgrading to latest version resolves the issue at your end.

Pavendhan K.  

TB Thomas Bomberg August 31, 2016 08:45 PM UTC


thanks for your answer, but it did not help.

Below is info of my Xamarin:
=== Xamarin Studio Community ===

Version 6.0.2 (build 73)
Installation UUID: ccc22294-8531-4605-a348-aaa3f9b97ded
Mono 4.4.2 (mono-4.4.0-branch-c7sr1/f72fe45) (64-bit)
GTK+ 2.24.23 (Raleigh theme)

Package version: 404020011

=== Xamarin.Profiler ===

Not Installed

=== Apple Developer Tools ===

Xcode 7.3.1 (10188.1)
Build 7D1014

=== Xamarin.Mac ===

Not Installed

=== Xamarin.Android ===

Version: (Xamarin Studio Community)
Android SDK: /Users/tsz/Library/Developer/Xamarin/android-sdk-macosx
Supported Android versions:
2.3   (API level 10)
4.0.3 (API level 15)
4.4   (API level 19)

SDK Tools Version: 24.1.2
SDK Platform Tools Version: 22.0.0
SDK Build Tools Version: 22.0.1

Java SDK: /usr
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

Android Designer EPL code available here:

=== Xamarin Android Player ===

Not Installed

=== Xamarin.iOS ===

Version: (Xamarin Studio Community)
Hash: f37444a
Branch: cycle7-sr1
Build date: 2016-07-28 12:17:02-0400

=== Build Information ===

Release ID: 600020073
Git revision: a6f7a24a9723a2d4f5d33c176615b0d44703ab5b
Build date: 2016-07-26 13:36:15-04
Xamarin addins: f5acb37866a0141bc5ddbe95118f18dae4014568
Build lane: monodevelop-lion-cycle7-sr1

=== Operating System ===

Mac OS X 10.11.5
Darwin 360s-Mac-mini.local 15.5.0 Darwin Kernel Version 15.5.0
    Tue Apr 19 18:36:36 PDT 2016
    root:xnu-3248.50.21~8/RELEASE_X86_64 x86_64

PK Pavendhan Kumar Syncfusion Team September 1, 2016 10:02 AM UTC

Hi Thomas,

Query: Updated assemblies did not solves the issue.

Please ensure that you have updated Syncfusion assemblies also. The mentioned issue "ValueChanged event not working on iOS" was reproduced at our end. We have logged the bug report for the same internally and fixed. The patch for the fix has been included in our 2016 Volume 2 SP2. You can find latest Syncfusion assemblies from the following link.

Link: https://www.syncfusion.com/forums/125638/essential-studio-2016-volume-2-service-pack-release-v14-2-0-32-available-for-download 

Pavendhan K.


Live Chat Icon For mobile
Up arrow icon