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

nb-tabset not workign with ng-content #3228

Open
1 of 2 tasks
DLMykolaIvanov opened this issue Dec 5, 2023 · 0 comments
Open
1 of 2 tasks

nb-tabset not workign with ng-content #3228

DLMykolaIvanov opened this issue Dec 5, 2023 · 0 comments

Comments

@DLMykolaIvanov
Copy link

DLMykolaIvanov commented Dec 5, 2023

Issue type

I'm submitting a ... (check one with "x")

  • bug report
  • feature request

Issue description

Current behavior:
I want an add-on over nb-tabset. I add tabs from the parent component. nb-tabset is empty. How to fix it?

Expected behavior:
nb-tabset working with ng-content.

Steps to reproduce:

  1. Create component with nb-tabset -> ng-content
  2. Use this component as child component with ng-tab inside.
  3. nb-tabset is empty

Related code:

<div>
  <nb-tabset>
    <ng-content></ng-content>
  </nb-tabset>
</div>
<app-tabset>
  <nb-tab [tabId]="id" [tabTitle]="title">
     test content
  </nb-tab>
</app-tabset>

Other information:

npm, node, OS, Browser
node 18.16.0
npm 9.5.1
angular 15.2.9
nebular 11.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant