Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Ability to add header and footer to b-dropdown#7186

balane started this conversation inIdeas
Discussion options

I need to add a footer to a b-dropdown. Something similar to what Kendo has implemented(https://www.telerik.com/kendo-vue-ui/components/dropdowns/multiselect/custom-rendering/#toc-headers-and-footers). Seems like it would be fairly simple to add slots for these but beyond that, does anyone have a way to do it with just CSS?

You must be logged in to vote

Replies: 1 comment

Comment options

Hiws
Jan 2, 2024
Maintainer

Looks fairly simple.

Something like:

<b-dropdowntext="Dropdown"><b-dropdown-text>Header</b-dropdown-text><listyle="max-height: 100px; overflow-y: auto;"><ulstyle="list-style: none; padding-inline-start: 0"><b-dropdown-itemv-for="i in 10">Item {{ i }}</b-dropdown-item></ul></li><b-dropdown-text>Footer</b-dropdown-text></b-dropdown>
You must be logged in to vote
0 replies
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Ideas
Labels
None yet
2 participants
@balane@Hiws

[8]ページ先頭

©2009-2025 Movatter.jp