Completed
Last Updated: 15 Mar 2023 12:03 by ADMIN
Release R1 2023 SP1
Sys
Created on: 01 Feb 2023 09:25
Category: ComboBox
Type: Bug Report
1
ComboBox: [Android] Placeholder not showing when control is in editable state

 

In Xamarin R1 2023 (version 2023.1.117), there's an issue which Combobox placeholder is not showing when search is enabled. Placeholder only shown when isEditable is set to false.

This issue only present in the latest version. As I've tried to downgrade to the old version and it's working fine. 

Please fix it, thanks.

2 comments
ADMIN
Didi
Posted on: 01 Feb 2023 12:08

Hi,

I have reproduced the behavior. Thank you for this report.

Repro code: 

<StackLayout>
    <Switch x:Name="switch"/>
    <telerikInput:RadComboBox ItemsSource="{Binding Items}"
                                SearchTextPath="Name"
                                x:Name="combo"
                                Placeholder="Hello hello"
                                PlaceholderColor="Red"
                                DisplayMemberPath="Name"
                                IsEditable="{Binding IsToggled, Source={x:Reference switch}}">
        <telerikInput:RadComboBox.BindingContext>
            <local:ViewModel/>
        </telerikInput:RadComboBox.BindingContext>
    </telerikInput:RadComboBox>
</StackLayout>

I couldn't find a solution to workaround the behavior. I tried dispatcher, etc. but the placeholder is not visible. 

Regards,
Didi
Progress Telerik

Sys
Posted on: 01 Feb 2023 09:33
Downgraded to version 2022.3.914.1 is working fine.