Completed
Last Updated: 22 Apr 2019 10:54 by ADMIN
ADMIN
Lance | Senior Manager Technical Support
Created on: 25 May 2018 14:30
Category: AutoComplete
Type: Bug Report
1
AutoComplete: [Android] Initial Text isn't used when set in XAML
When the value of Text is set in XAML, Text value is ignored on Android. Use this example:

<telerikInput:RadAutoComplete x:Name="autoComplete" Text="Initial Text" Watermark="watermark" />

Observe that only the watermark appears (note: this issue happens with or without watermark).


Workaround:

Set the value of Text after view has loaded, for example in OnAppearing:

protected override void OnAppearing()
{
    base.OnAppearing();

    autoComplete.Text  = "OnAppearing";
}
1 comment
ADMIN
Nasko
Posted on: 22 Apr 2019 10:54
Hello,

The status of the item is updated to "Completed" as this issue is not reproducible in RadAutoCompleteView. Please consider using RadAutoCompleteView as it is a replacement of RadAutoComplete and have in mind that AutoComplete will be removed from the suite soon. 
 
You can read about the differences between both components and how to migrate to the new RadAutoCompleteView in the kb article here: Replace AutoComplete with AutoCompleteView.
 
If you have any difficulties regarding this, please open a support ticket with more details on your scenario.
   
Regards,
Nasko