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

TabView does not support dynamic tabs #616

Closed
MelihAltintas opened this issue Nov 1, 2020 · 3 comments
Closed

TabView does not support dynamic tabs #616

MelihAltintas opened this issue Nov 1, 2020 · 3 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@MelihAltintas
Copy link

MelihAltintas commented Nov 1, 2020

The versions I am using: "primevue": "3.0.1", "vue": "3.0.0",

Example
T4wdR
Result:
zjHec

or

    <Accordion >
        <AccordionTab header="Header I">
            Content
        </AccordionTab>
        <AccordionTab :header="header" v-for="header in ['a','b','c','d']" :key="header">
            header
        </AccordionTab>
        <AccordionTab header="Header III">
            Content
        </AccordionTab>
    </Accordion>

Untitled

@cagataycivici
Copy link
Member

Duplicate of #622

@cagataycivici cagataycivici marked this as a duplicate of #622 Nov 25, 2020
@cagataycivici cagataycivici reopened this Nov 25, 2020
@cagataycivici
Copy link
Member

Oh, this is for TabView, reopening.

@cagataycivici cagataycivici changed the title v-for doesn't work on PrimeVUE 3 component TabView does not support dynamic tabs Nov 25, 2020
@cagataycivici cagataycivici self-assigned this Nov 25, 2020
@cagataycivici cagataycivici added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Nov 25, 2020
@cagataycivici cagataycivici added this to the 3.0.2 milestone Nov 25, 2020
@cagataycivici
Copy link
Member

Resolved and added a demo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants