When the user types text that matches an existing item from the data source (but does not select/tap it) and then taps outside of the control, the selected item property of the field is set to the first item in the original data source (regardless of the filtered contents). For example:
Given a SfAutoComplete field named "myField" and the bound dataset:
If the user types "EEE", "AAC", or "AAB" and then taps outside the myField control without selecting from the dropdown, the selected item of myField will be set incorrectly to "AAA" and the user's text will be lost.
If the user types any non-matching text (e.g. "AA", "EE", "TEST", "DDD", etc.) and then taps outside the myField control, the selected item of myField will remain null and the user's text remains as expected.
The reason is that when there is a match in the data source, a SelectionChange event happens (before the focus change events fire) that sets the selected item to the first item in the data source. If there is no match in the data source, the SelectionChange event is not triggered before the focus change events.
Is there any way to prevent this behavior? I do not want anything to be selected unless the user explicitly selects an item from the dropdown.
Thank you!