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

How to click chip. (Syncfusion&bUnit)

Hi.

I use Syncfusion blazor chip and bunit.

How can i click chip?

<SfChip>
    <ChipItems>
        <ChipItem Text="Janet Leverling"></ChipItem>
    </ChipItems>
</SfChip>

Thanks.


1 Reply

IL Indhumathy Loganathan Syncfusion Team October 27, 2022 10:47 AM

Hi Ireneusz,


Greetings from Syncfusion support.


In the Blazor Chip component, we have a Selection property using which you can set the selection type. Please check the below documentation link to perform Single and Multiple selections.


Single selection: https://blazor.syncfusion.com/documentation/chip/types#choice-chip


Multiple selection: https://blazor.syncfusion.com/documentation/chip/types#filter-chip


We also have an OnClick event in the Chip component which will trigger once the chip is clicked.


https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Buttons.ChipEvents.html#Syncfusion_Blazor_Buttons_ChipEvents_OnClick


Please let us know if you need any further assistance.


Regards,

Indhumathy L


Loader.
Live Chat Icon For mobile
Up arrow icon