I tested Android and iOS only. Other platforms i cannot test at the moment.
Given the following implementation of the Combobox i observ different behaviour if the bound item is a enum or a class.
<telerik:RadComboBox x:Name="a"
ItemsSource="{Binding CloudProviders}"
SelectedItem="{Binding SelectedCloudProvider}"
IsClearButtonVisible="False">
<telerik:RadComboBox.ItemTemplate>
<DataTemplate>
<Grid HeightRequest="40"
Padding="10">
<Label Text="{Binding Title}"
TextColor="{DynamicResource DisabledTextColor}"
FontSize="14" />
</Grid>
</DataTemplate>
</telerik:RadComboBox.ItemTemplate>
<telerik:RadComboBox.SelectedItemTemplate>
<DataTemplate>
<Grid HeightRequest="40"
Padding="10">
<Label Text="{Binding Title}"
TextColor="{DynamicResource DisabledTextColor}"
FontSize="14" />
</Grid>
</DataTemplate>
</telerik:RadComboBox.SelectedItemTemplate>
</telerik:RadComboBox>
If the Itemssource is a Array of a enum type it works as intended.
If the Itemssource is a Array of classes the initial selected display member is not visible. The moment i tap into the closed combobox, the selected member is visible.
The attached screenshots show the page after loading and after touching into the white area(combobox) once.
For Localization and more details, we want to use classes. Is this a bug or do we have a issue in our code here?
Provide an option to hide the tokens and display only the count of the selected items instead of showing all selected items in the input area.
When setting the ComboBox ItemsSource to be Dictionary, the values are not displayed in the drop down.
Workaround:
The dictionary should be converted to List:
public Dictionary<string, string> Status { get; set; } = new() { { "1", "Test" }, { "2", "hello" } };
public IList<string> Data { get => this.Status.Values.ToList(); }
I would like to see a new feature in the RadComboBox for "Select All" functionality.
Here is the general functional paradigm I'm hoping to see.
1. All Selection
2. Partial Deselection
When you add Telerik .NET MAUI controls that use icons, such as ComboBox, AutoComplete, etc, there are font-related exceptions in the output.
Although the exceptions do not affect the behavior and appearance of the controls, they make the output hard to read.
If a "long" placeholder value is set when the user selects a few of the items from the multi-select combobox and taps off of the combobox, the combobox is left displaying extra whitespace below.
Whenever the combobox doesn't have enough space to be displayed on the screen, the footer gets pushed to the bottom and off the dropdown popup.
This was tested on Telerik 3.0 but I also tested it on 3.1, 3.2, 3.2.1, and 4.0 with the same results.
In RadComboBox, when entering text to filter the items in dropdown, it would be nice to have the first item selected by default that matches the filter and also have the ability to select different item by keyboard up/down arrows.
This feature probably does not make sense on mobile platforms, but it would be great on desktop platforms.