MudBlazor

MudChipSet API

Pages

Properties

Name Type Default Description
AllClosable
Boolean

False

Will make all chips closable.
ChildContent
RenderFragment

null

Child content of component.
Filter
Boolean

False

Will show a check-mark for the selected components.
Mandatory
Boolean

False

Will not allow to deselect the selected chip in single selection mode.
MultiSelection
Boolean

False

Allows to select more than one chip.
ReadOnly
Boolean

False

Will make all chips read only.
SelectedChip
MudChip

null

The currently selected chip in Choice mode
SelectedChips
MudChip[]

The currently selected chips in Filter mode
Inherited from MudComponentBase
Class
String

null

User class names, separated by space.
Style
String

null

User styles, applied on top of the component's own classes and styles.
Tag
Object

null

Use Tag to attach any user data object to the component for your convenience.
UserAttributes
Dictionary<String, Object>

UserAttributes carries all attributes you add to the component that don't match any of its parameters. They will be splatted onto the underlying HTML tag.

EventCallbacks

Name Type Description
OnClose
EventCallback<MudChip>
Called when a Chip was deleted (by click on the close icon)
SelectedChipChanged
EventCallback<MudChip>
Called when the selected chip changes, in Choice mode
SelectedChipsChanged
EventCallback<MudChip[]>
Called when the selection changed, in Filter mode

Methods

Name Parameters Return Description
OnChipDeleted(MudChip chip)
MudChip chip
An error has occurred. This application may no longer respond until reloaded. Reload 🗙