Skip to content

Commit

Permalink
fix: select dropdownRender not support slot #3098
Browse files Browse the repository at this point in the history
  • Loading branch information
tangjinzhou committed Nov 3, 2020
1 parent c98e13d commit 1165b42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/select/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ const Select = defineComponent({
getPopupContainer={getPopupContainer || getContextPopupContainer}
dropdownClassName={rcSelectRtlDropDownClassName}
onChange={triggerChange}
dropdownRender={selectProps.dropdownRender || this.$slots.dropdownRender}
>
{slots.default?.()}
</RcSelect>
Expand Down

0 comments on commit 1165b42

Please sign in to comment.