shentao/vue-multiselect

Allow a custom (modifier) class for multiselect

Open

#667 opened on Mar 13, 2018

View on GitHub
 (6 comments) (0 reactions) (0 assignees)JavaScript (6,559 stars) (994 forks)batch import
enhancementgood first issue

Description

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