shentao/vue-multiselect

Allow a custom (modifier) class for multiselect

Open

#667 geöffnet am 13. März 2018

Auf GitHub ansehen
 (6 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (6.559 Stars) (994 Forks)batch import
enhancementgood first issue

Beschreibung

Hi! I love how multiselect is built using BEM, which nicely matches with our workflow.

However we have several variations of multiselect on our site, and we already have two different styles for these dropdowns. The only possibility I have now is to add styling based on inheritance (eg wrap it in a div), which is kind of anti-BEM ;)

I would prefer to be able to pass a custom prop or option that allows for an additional modifier, so that the base class "multiselect" would become "multiselect multiselect--filter" for example.

Contributor Guide