Tokens never visible

Hello,

I want to use the SfComboBox in Multi-Selection mode. Unfortunately, tokens are never shown when I select items from the box. What am I doing wrong? I hope you can point me in the right direction.

Thanks, Michael


public partial class FilteringViewModel : ObservableObject
{
    public ObservableCollection<Disciplines> Disciplines { get; set; } =
    [
        new Disciplines("Football", 1),
        new Disciplines("Baseball", 2),
        new Disciplines("Basketball", 3)
    ];
}

public class Disciplines(string name, int value)
{
    public string Name { get; set; } = name;
    public int Value { get; set; } = value;
}


<inputs:SfComboBox x:Name="comboBox"
                   TextMemberPath="Name"
                   DisplayMemberPath="Name"
                   ItemsSource="{Binding Disciplines}"
                   SelectionMode="Multiple"
                   Placeholder="Disciplines filter">
</inputs:SfComboBox>


After selecting items, the combobox doesn't show any token.

Image_9696_1785147268596


Image_3267_1785147297724



5 Replies

MI Michael July 27, 2026 11:55 AM UTC

I forgot to mention that the selected elements are correctly chosen and accessible.


public partial class FilteringViewModel : ObservableObject
{
    public ObservableCollection<Disciplines> Disciplines { get; set; } =
    [
        new Disciplines("Football", 1),
        new Disciplines("Baseball", 2),
        new Disciplines("Basketball", 3)
    ];

    public  ObservableCollection<Disciplines> SelectedDisciplines { get; set; } = [];

    [RelayCommand]
    private void DisciplinesSelected(string para)
    {
        foreach (var selectedDiscipline in SelectedDisciplines)
        {
            // Handle the logic when disciplines are selected
            Debug.WriteLine($"Selected Discipline: {selectedDiscipline.Name}, Value: {selectedDiscipline.Value}");
        }
    }
}
 <inputs:SfComboBox x:Name="comboBox"
                    TextMemberPath="Name"
                    DisplayMemberPath="Name"
                    ItemsSource="{Binding Disciplines}"
                    SelectionMode="Multiple"
                    SelectedItems="{Binding SelectedDisciplines}"
                    Placeholder="Disciplines filter"
                    >
     <inputs:SfComboBox.Behaviors>
         <toolkit:EventToCommandBehavior EventName="DropDownClosed" 
                                         Command="{Binding DisciplinesSelectedCommand}" 
                                         BindingContext="{Binding Source={x:Reference this}, Path=BindingContext}" />
     </inputs:SfComboBox.Behaviors>
 </inputs:SfComboBox>


And, the Placeholder text is also never shown!


Regards

Michael




MI Michael July 27, 2026 12:35 PM UTC

Ok, I found the reason why it is not working.

I downgraded to Version 34.1.31 and then my code is working. There seems to be a serious Bug in Version  34.1.32. 





MI Michael July 28, 2026 09:21 AM UTC

Bug is also present in just released Version 34.1.33 



TA Tameem Ansari Yousoof Iqbal Syncfusion Team July 28, 2026 11:43 AM UTC

Hi Michael,

 

Thank you for reporting this issue.

 

We were able to replicate the reported behavior using the code sample you provided. During our validation, we observed that when the SfComboBox is configured in Multi-Selection mode, the selected item tokens are not displayed as expected.

 

Our team has validated the issue and is currently investigating the root cause. We will share our findings and provide a further update on 30th July.

 

We appreciate your patience and understanding while we work on this.

 

Best regards,
Tameem.




TA Tameem Ansari Yousoof Iqbal Syncfusion Team July 30, 2026 12:11 PM UTC

Hi Michael,

Thank you for reporting this issue.


We are glad to inform you that the reported issue, where the selected token was not displayed in SfComboBox, has been fixed on our end.


The fix will be included in our upcoming Volume 2 Service Pack (SP) release. Once the release is available, we recommend updating to the latest NuGet package and verifying the behavior in your application.


Thank you for your patience and for bringing this issue to our attention. Please let us know if you have any further questions.


Regards,
Tameem.



Loader.
Up arrow icon