Skip to content

AccordionTab error with v-if="false" #1339

Closed
@andilem

Description

@andilem

I'm submitting a ...

[x] bug report 
[ ] feature request
[ ] support request

CodeSandbox Case (Bug Reports)
https://codesandbox.io/s/determined-glade-ks1s3?file=/src/App.vue

Current behavior
An AccordionTab with v-if="false" causes a TypeError: child.children.forEach is not a function because child seems to be a string.

Expected behavior
An AccordionTab with v-if="false" is just removed from the DOM.

  • Vue version: 3.1.1
  • PrimeVue version: 3.5.0
  • Browser: [Chrome | ??? ]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type: BugIssue contains a bug related to a specific component. Something about the component is not working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions