Skip to content

Commit

Permalink
fix(SelectCustom): add missing listContainerClass prop
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincanac committed Jul 1, 2022
1 parent 2e64343 commit ae6e8ee
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/runtime/components/forms/SelectCustom.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</ListboxButton>

<transition leave-active-class="transition ease-in duration-100" leave-from-class="opacity-100" leave-to-class="opacity-0">
<ListboxOptions :class="listBaseClass">
<ListboxOptions :class="[listBaseClass, listContainerClass]">
<ListboxOption
v-for="(option, index) in options"
v-slot="{ active, selected, disabled }"
Expand Down Expand Up @@ -116,6 +116,10 @@ const props = defineProps({
type: String,
default: () => $ui.selectCustom.list.base
},
listContainerClass: {
type: String,
default: () => $ui.selectCustom.list.container
},
listOptionBaseClass: {
type: String,
default: () => $ui.selectCustom.list.option.base
Expand Down

0 comments on commit ae6e8ee

Please sign in to comment.