The watermark on the RadAutoCompleteView does not work for the last version of Xamarin.

1 Answer 132 Views
AutoCompleteView
Hakob
Top achievements
Rank 2
Iron
Hakob asked on 03 Aug 2022, 09:52 AM | edited on 03 Aug 2022, 10:06 AM
please, how I can fix this issue? On the attached files you can see the Xamarin versions (with red has marked works version for the Xamarin.).

1 Answer, 1 is accepted

Sort by
0
Accepted
Didi
Telerik team
answered on 04 Aug 2022, 11:58 AM

Hi Hakob,

The issue you have reported is similar to the one we have logged https://feedback.telerik.com/xamarin/1569472-entry-android-watermark-is-not-visible-with-the-latest-xamarin-forms-update-5-0-0-2478 

RadAutoCompleteView uses RadEntry internally as input control. The bug status is in development. If passing testing the fix will be provided with the next official release. 

Use the workaround suggested in the feedback item - set the Watermark property in code behind using a dispatcher:

Device.BeginInvokeOnMainThread(()=>
{
    autoCompleteView.Watermark = "write your text here";
});

Regards,
Didi
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
AutoCompleteView
Asked by
Hakob
Top achievements
Rank 2
Iron
Answers by
Didi
Telerik team
Share this question
or