Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BTabs with dropdown #1872

Open
makroxyz opened this issue Apr 29, 2024 · 2 comments
Open

BTabs with dropdown #1872

makroxyz opened this issue Apr 29, 2024 · 2 comments
Labels
question Further information is requested stale There has been no additional replies or questions and the thread is assumed closed

Comments

@makroxyz
Copy link
Contributor

makroxyz commented Apr 29, 2024

Will BVNext include this feature?

https://getbootstrap.com/docs/5.3/components/navs-tabs/#pills-with-dropdowns

@makroxyz makroxyz added the question Further information is requested label Apr 29, 2024
@xvaara
Copy link
Contributor

xvaara commented Apr 30, 2024

You didn't link to a tab implementation only to an nav implementation... little confused about what you're after...
You mean like this:
https://bootstrap-vue-next.github.io/bootstrap-vue-next/docs/components/nav.html#dropdown
which is what you linked, but either of them has "tabs".
You can add prop tabs to it to have it render like tab.

But we (or bootstrap) implement dropdowns as part of BTabs functionality. So can you describe what you are after?
Are the dropdown elements meant to be tabs also?
What kind of syntax should they have if "real tabs"?

<BTabs>
  <BTab title="tab1">
    <p>tab1</p>
  </BTab>
  <BTabDropdown title="more tabs">
    <BTab title="tab2">
      <p>tab2</p>
    </BTab>
    <BTabDropdownItem title="action" @click="doSomething" />
  </BTabDropdown>
</BTabs>

is that what you're after? You can build that with BNav, but you need to control the tab change yourself.

Copy link
Contributor

This issue is stale because it has been open for 30 days with no activity. It will not be auto-closed

@github-actions github-actions bot added the stale There has been no additional replies or questions and the thread is assumed closed label May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested stale There has been no additional replies or questions and the thread is assumed closed
Projects
None yet
Development

No branches or pull requests

2 participants