SamProf / MatBlazor

Material Design components for Blazor and Razor Components
http://www.matblazor.com
MIT License
2.84k stars 386 forks source link

Filter chip #181

Open nagytam opened 4 years ago

nagytam commented 4 years ago

Please add support for filter chips with data binding.

Filter Chips (https://github.com/material-components/material-components-web/tree/master/packages/mdc-chips) Filter chips are a variant of chips which allow multiple selection from a set of options. To define a set of chips as filter chips, add the class mdc-chip-set--filter to the chip set element. When a filter chip is selected, a checkmark appears as the leading icon. If the chip already has a leading icon, the checkmark replaces it. This requires the HTML structure of a filter chip to differ from other chips:

...
henon commented 4 years ago

I am working on this.

image

image

Works well, so I'll PR this.