CodeBeam.MudBlazor.Extensions icon indicating copy to clipboard operation
CodeBeam.MudBlazor.Extensions copied to clipboard

(Question) Why use ChipSet inside components?

Open Geccoka opened this issue 2 years ago • 1 comments
trafficstars

It's not a bug, more like a question to the authors.

Why use MudChipSet in components that enables multiselection? Why not use just MudChips?

The MudChipSet has a feature that the individual chips can be selected, and the selection causes that the chip changes its variant, eg. from Text to Filled or the other way around. If you use the MudChipSet alone this selection function with the visuals is of course a good feature, but inside a component that allows multiselection selecting the individual chips make no sense and and makes a visual interference if somebody clicks one. The MudChip also has a Close function that allows the parent component to remove individual chips.

So i can see only drawbacks using MudChipSets rather than individual MudChips.

This looks wierd IMO: kép

What is your opinion?

Geccoka avatar Sep 13 '23 08:09 Geccoka

@Geccoka MudChipSet also provides that chips can be closed individually etc. has lots of mechanism. I agree that the click behavior is not correct inside the input, i think we should change MudChipset design itself, not MudSelectExtended

mckaragoz avatar Sep 29 '23 20:09 mckaragoz