-
-
Notifications
You must be signed in to change notification settings - Fork 996
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disabled grouped options get extra multiselect__option--group class #1081
Comments
I was facing the same issue. Created MR to fix the same. |
Same issue here, we really need this :( @shentao can you merge the solution above ? |
@shentao I also need a solution to this problem |
@shentao I'm wondering why |
also, has this been merged? Or not? confused that the case is still open but it points to a merged branch |
Fiddle to reproduce: https://jsfiddle.net/9etuLmj6/4
Upon having grouped options, where one of them is disabled and the option
group-select
is set tofalse
(or not passed down as a prop), the option that should be disabled gets the extra classmultiselect__option--group
while it is clearly not a group.Removing
$isDisabled: true
from the option or settings:group-select="true"
on the multiselect will not set this class.In the above example this can be seen because the option 'Adonis' is red or by inspecting the html.
This wouldn't really be a problem, until we want to apply custom css to option group headers.
The text was updated successfully, but these errors were encountered: