We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

selected value not visible

Hi support,
I'm running your library on iOS.

The combobox is working and can be populated but if I select an item, the selected item is not shown in the combobox. It is just empty.

This is my code

        <editors:SfComboBox

            x:Name="comboboxRaces"

            Margin="0,15,0,15"

            WidthRequest="340"

            HeightRequest="40"

            DisplayMemberPath="caption"

            TextMemberPath="cpation"

            SelectedValuePath="raceorder"

            IsEditable="False"

            TextColor="{AppThemeBinding Light={StaticResource LightEntryFieldTextColor}, Dark={StaticResource DarkEntryFieldTextColor}}"

            BackgroundColor="{AppThemeBinding Light={StaticResource LightEntryFieldBackgroundColor}, Dark={StaticResource DarkEntryFieldBackgroundColor}}"

            SelectionChanged="comboboxRaces_SelectionChanged"

            />

What can I do?

Regards,
Stephan


3 Replies

VV Vijayakumar Viswanathan Syncfusion Team March 22, 2023 02:18 PM UTC

Hi Stephan,

We have created a sample using the code you shared, and by setting the ItemSource property in the XAML. Despite our efforts, we were unable to reproduce the issue on our end. Please review the attached sample and let us know if the issue persists on your end. To proceed further, suggest any modifications that would help to reproduce the issue, or alternatively, please provide us with a sample that reproduces the issue.


Regards,

Vijayakumar V


Attachment: ComboBoxSample_cb7973d7.zip


SS Stephan Schrade March 22, 2023 10:02 PM UTC

Many thanks for your quick answer.

I found out what the problem is:

There is a typo :-(

TextMemberPath="cpation"

has to be

TextMemberPath="caption"


Sorry for that.

Regards,

Stephan



VV Vijayakumar Viswanathan Syncfusion Team March 23, 2023 04:39 AM UTC

Hi Stephan,

We are glad to know that the issue has been resolved on your side. We will mark this incident as closed, if you have any other queries please let us know by creating a new one.


Thanks,

Vijayakumar V


Loader.
Up arrow icon