ValueChanged Event & SuggestAppend

Hi,
I am currently using version 16.1.0.32 of the sfAutoComplete control.

When the AutoCompleteMode="SuggestAppend" the ValueChanged event is called in a loop.

In the ValueChanged event I do a search in Google Place Api like this:

autoLocations.ValueChanged += async (sendere) =>
{
   await UpdateAutoCompleteDataSource(e.Value);
};

The UpdateAutoCompleteDataSource updates an ItemList property which is bound to the DataSource property of the AutoComplete control.

It seems that when the first suggestion is appended to the Text property of the AutoComplete, the ValueChanged event will be called again and so on in a loop.

If I use only Suggest, all works fine.

Best regards
Espen Evje



3 Replies

RB Rabhia Beham Kathar Mideenar Syncfusion Team April 25, 2018 04:46 PM UTC

Hi Espen,

Thanks for contacting Syncfusion Support.

We have checked the reported issue in SfAutoComplete Control. We are able to reproduce the issue "ValueChanged event called again and again when using SuggestAppend" from our side in Android Platform. We are currently working on the issue and the issue fix will be available in Volume 2 Release which will be rolled out by the end of May 2018.

Please let us know if you have any concern.

Regards,
Rabhia Beham K.



EE Espen Evje April 27, 2018 08:11 AM UTC

I have this issue in Xamarin.Forms on the iOS platform, so hope you fix for this as well.

/espen


RB Rabhia Beham Kathar Mideenar Syncfusion Team April 30, 2018 05:19 AM UTC

Hi Espen,

We have checked the reported issue in SfAutoComplete Control. We are able to reproduce the issue "ValueChanged event called again and again when using SuggestAppend and Append“ from our side in both Android and iOS Platform. We are currently working on the issue and the issue fix will be available in Volume 2 Release which will be rolled out by the end of May 2018.

Please let us know if you have any concern.

Regards,
Rabhia Beham K.

Loader.
Up arrow icon