Disabled ComboBox shows dropdown list on touch on the text part (iOS)

1 Answer 99 Views
Top achievements
Rank 1
Maksym asked on 11 Nov 2022, 12:07 AM | edited on 11 Nov 2022, 12:15 AM


Using MAUI Trial 2.3.0

Visual Studio Community 2022 for Mac Preview Version 17.4 Preview (17.4 build 2339)

Checked in iOS 16.0 Simulator.

Disabled combobox does not react on touch on the dropdown arrow. But it reacts on the tap on the text part and allow to change selection in the list.

Tried to set OpenOnFocus to false - same behaviour

<DataTemplate x:Key="ComboBoxTemplate" x:DataType="{x:Type models:JDFModel}">
	<telerik:RadBorder Style="{StaticResource GeneralBorderStyle}">
				<ColumnDefinition Width="*" />
				<ColumnDefinition Width="2*" />
				<ColumnDefinition Width="*" />

			<telerik:RadHighlightLabel Grid.Column="0" Text="{Binding Path=DisplayName}" Style="{StaticResource RegularLabelStyle}" />
			<telerik:RadHighlightLabel Grid.Column="2" Text="{Binding Path=IsEnabled, Converter={StaticResource BoolToStringConverter}, StringFormat='{0} CoB'}" Style="{StaticResource RegularLabelStyle}" />

			<telerik:RadComboBox Grid.Column="1" Style="{StaticResource RegularComboBoxStyle}" x:Name="box"											   
				ItemsSource="{Binding Path=ItemsSource}"
				IsEnabled="{Binding Path=IsEnabled}"
				SelectedItem ="{Binding Converter={StaticResource SelectedValueToItemConverter}, ConverterParameter={x:Reference box}, Path=SelectedValue, Mode=TwoWay, UpdateSourceEventName=SelectionChanged}" />

1 Answer, 1 is accepted

Sort by
Telerik team
answered on 14 Nov 2022, 02:22 PM

Hi Maksym,

Thank you for the provided code snippet.

That is an old issue which we have fixed in later versions of Telerik UI for .NET Maui. I suggest updating to the latest version of .NET MAUI and Telerik UI for .NET MAUI 4.0.0. In this way you can use the latest features and improvements added to the controls.

For the version you use 2.3.0 - the workaround I can suggest is setting the InputTransparent property to the ComboBox and bind it to the IsEnabled property.


InputTransparent="{Binding Path=IsEnabled}"

Let me know if I can assist any further.

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/.

Asked by
Top achievements
Rank 1
Answers by
Telerik team
Share this question