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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Thread ID:

Created:

Updated:

Platform:

Replies:

125631 Aug 30,2016 06:21 AM UTC Sep 1,2016 10:02 AM UTC Xamarin.Forms 3
loading
Tags: SfAutoComplete
Thomas Bomberg
Asked On August 30, 2016 06:21 AM UTC

Hi,

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>();
list.Add("India");
list.Add("Iran");
list.Add("Iraq");
list.Add("Ireland");
autoComplete.AutoCompleteSource = list;
autoComplete.IsVisible = true;
autoComplete.AutoCompleteMode = AutoCompleteMode.SuggestAppend;
autoComplete.ValueChanged += AutoComplete_ValueChanged;
StackLayout stack = new StackLayout();
stack.Children.Add(autoComplete);
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;
val.ToString();
e.ToString();
}
---

Please suggest how to fix it. Thanks in advance.

Pavendhan Kumar [Syncfusion]
Replied On 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,

https://www.syncfusion.com/forums/125638/essential-studio-2016-volume-2-service-pack-release-v14-2-0-32-available-for-download 
 
Please let us know if upgrading to latest version resolves the issue at your end.

Regards,
Pavendhan K.  


Thomas Bomberg
Replied On August 31, 2016 08:45 PM UTC

Hi,

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
Runtime:
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: 6.0.1.10 (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:
https://github.com/xamarin/AndroidDesigner.EPL

=== Xamarin Android Player ===

Not Installed

=== Xamarin.iOS ===

Version: 9.8.2.22 (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
---

Pavendhan Kumar [Syncfusion]
Replied On 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 

Regards,
Pavendhan K.

 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;