From 73b57cf29f7a726bbe16d3c69269f3f7b7e43c7b Mon Sep 17 00:00:00 2001 From: Akshay Jat Date: Mon, 9 Mar 2020 21:19:17 +0530 Subject: [PATCH] fix: disabled grouped options get extra multiselect__option--group class (#1081) (#1125) Thank you for the PR! --- src/pointerMixin.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/pointerMixin.js b/src/pointerMixin.js index 0ce3ddca..4a967362 100644 --- a/src/pointerMixin.js +++ b/src/pointerMixin.js @@ -48,7 +48,10 @@ export default { }, groupHighlight (index, selectedGroup) { if (!this.groupSelect) { - return ['multiselect__option--group', 'multiselect__option--disabled'] + return [ + 'multiselect__option--disabled', + { 'multiselect__option--group': selectedGroup.$isLabel } + ]; } const group = this.options.find(option => {