Skip to content

Dynamic TabView doesn't appear to be working #646

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

Closed
delaneyj opened this issue Nov 18, 2020 · 1 comment
Closed

Dynamic TabView doesn't appear to be working #646

delaneyj opened this issue Nov 18, 2020 · 1 comment

Comments

@delaneyj
Copy link

I posted this on the forum but didn't know if this is actually the proper place to submit issues.

Trying out PrimeVue and overall loving it!

Ran into an odd situation where TabView panels work fine until I data drive them. Example uses pug but hopefully its clear.

TabView
        TabPanel(header='Foo')
          p Foo
        TabPanel(header='Bar')
          p Bar

works fine.

TabView
        TabPanel(v-for='(m, i) in markets', :key='i', :header='m.label')
          p {{ m.markets }}

does not.

However if I just use normal divs the contents shows up as expected

      div(v-for='(m, i) in markets', :key='i')
        p {{ m.label }}
        p {{ m.markets }}

Not sure why this would be an issue. The documentation on the subject doesn't say anything about not being able to use dynamic TabViews

@delaneyj
Copy link
Author

Sorry, this appears like a duplicate covered by #641. Closing this and watching other issue #616

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