Skip to content

Commit

Permalink
fix(taginput): fix rootClass inheritance (#772)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlmoravek authored Feb 10, 2024
1 parent 47c3259 commit fadb780
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion packages/oruga-next/src/components/dropdown/Dropdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,6 @@ const menuClasses = defineClasses(
autoPosition,
computed(() => !!autoPosition.value),
],
[
"menuActiveClass",
"o-drop__menu--active",
Expand Down
5 changes: 3 additions & 2 deletions packages/oruga-next/src/components/taginput/Taginput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { getOption } from "@/utils/config";
import { getValueByPath } from "@/utils/helpers";
import {
defineClasses,
getActiveClasses,
useVModelBinding,
useInputHandler,
} from "@/composables";
Expand Down Expand Up @@ -420,9 +421,9 @@ const autocompleteInputClasses = defineClasses([
const autocompleteBind = computed(() => ({
...attrs,
"root-class": autocompleteRootClasses.value,
"root-class": getActiveClasses(autocompleteRootClasses.value),
"input-classes": {
"input-class": autocompleteInputClasses.value,
"input-class": getActiveClasses(autocompleteInputClasses.value),
},
...props.autocompleteClasses,
}));
Expand Down

0 comments on commit fadb780

Please sign in to comment.