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!>
Thanks for joining our community and helping improve Syncfusion products!
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));