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

When I type <enter> in an SfAutoComplete control after typing a word which does not exist in the dictionary (and getting "No Results Found" in the drop down, see the attached screenshot) I get an argument out of range exception with this call stack:

System.Private.CoreLib.dll!System.Runtime.InteropServices.WindowsRuntime.VectorToListAdapter.Indexer_Get<object>(int index) Line 37
at E:\A\_work\252\s\src\mscorlib\src\System\Runtime\InteropServices\WindowsRuntime\VectorToListAdapter.cs(37)
Syncfusion.SfInput.UWP.dll!Syncfusion.UI.Xaml.Controls.Input.SfTextBoxExt.OnKeyDown(Windows.UI.Xaml.Input.KeyRoutedEventArgs e = {Windows.UI.Xaml.Input.KeyRoutedEventArgs})

The source for the VectorToListAdapter method checks for a negative index ...

        internal T Indexer_Get<T>(int index)
        {
            if (index < 0)
                throw new ArgumentOutOfRangeException(nameof(index));
so I guess the SfAutoComplete is not checking for that before using the index.

BTW I have version 16.4.0.54, but it's not in the dropdown. Nuget from Syncfusion_Xamarin says this is the latest version available to me.