When using TwoWay binding for AutoComplete on iOS, the Text is cleared using the Clear button, the Text property is not updated.
Also, as a confirmation, the Xamarin.Forms PropertyChanged event is also not fired for the RadAutoComplete.Text Property
Test 1 : Use the following repro for the Binding test:
<telerikInput:RadAutoComplete Text="{Binding SelectedInsurer, Mode=TwoWay}" />
public string SelectedInsurer
{
get => selectedInsurer;
set
{
SetProperty(ref selectedInsurer, value);
// This is not hit on iOS when the Text is cleared using the "X" button
}
}
Test 2 : Use this code for the PropertyChanged test:
AutoComplete.PropertyChanged += AutoComplete_PropertyChanged;
// Not executed on iOS when the Clear button is used.
private void AutoComplete_PropertyChanged(object sender, PropertyChangedEventArgs e)
{
if (e.PropertyName == "Text")
{
Debugger.Break();
}
}