In IOS & Android the list is displayed correctly, but not in UWP
The Code:
XAML:
<inputLayout:SfTextInputLayout x:Name="comboBoxSectionFrame" Hint="Track Surface" HelperText="Select Track Surface"
ContainerType="Outlined"
OutlineCornerRadius="8"
FocusedColor="#00AFA0"
UnfocusedColor="Silver"
Margin="10,0,10,0" IsVisible="False">
<combobox:SfComboBox SelectedItem="Asphalt" x:Name="comboBoxSectionProfil" IsEditableMode="True" />
</inputLayout:SfTextInputLayout>
C#:
ObservableCollection<TrackSurface> trackSurface = new ObservableCollection<TrackSurface>();
public class TrackSurface
{
public string SurfaceName { get; set; }
}
trackSurface.Add(new TrackSurface { SurfaceName = "ROAD" });
trackSurface.Add(new TrackSurface { SurfaceName = "SKY" });
trackSurface.Add(new TrackSurface { SurfaceName = "WATER" });
trackSurface.Add(new TrackSurface { SurfaceName = "GRAVEL" });
comboBoxSectionProfil.DataSource = trackSurface;
In UWP it looks like:
For example in IOS (Android same):