Skip to content

Commit 7401f67

Browse files
committed
fix(select): removeOption not passed correctly to render function
1 parent dd1ca2f commit 7401f67

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Select.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,11 +375,13 @@ watch(
375375
:key="selectedOption.value"
376376
>
377377
<template v-if="slots.tag">
378+
<!-- eslint-disable vue/attribute-hyphenation -->
378379
<component
379380
:is="slots.tag"
380381
:option="selectedOption"
381-
:remove-option="() => removeOption(selectedOption)"
382+
:removeOption="() => removeOption(selectedOption)"
382383
/>
384+
<!-- eslint-enable vue/attribute-hyphenation -->
383385
</template>
384386

385387
<MultiValue

0 commit comments

Comments
 (0)