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

Tiered Menu with Templating throw 'type check failed for prop "template" #1638

Closed
ibrdavid opened this issue Oct 4, 2021 · 0 comments
Closed
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@ibrdavid
Copy link

ibrdavid commented Oct 4, 2021

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

[x] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primevue/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=110

Current behavior
Click on Toggle to open TieredMenu throw a Warning. Which prop is wrong?

Warning:

[Vue warn]: Invalid prop: type check failed for prop "template". Expected Object, got Function
at <TieredMenuSub model=
(2) [Object, Object]
root=true popup=true ... >
at <BaseTransition onEnter=fn onLeave=fn onAfterLeave=fn ... >
at <Transition name="p-connected-overlay" onEnter=fn onLeave=fn ... >
at <TieredMenu ref="menu" model=
(2) [Object, Object]
popup=true >
at
at

Minimal reproduction of the problem with instructions
https://codesandbox.io/embed/ancient-forest-mn2bc?fontsize=14&hidenavigation=1&theme=dark

Please tell us about your environment:

  • Vue version: 3.2.1

  • PrimeVue version: 3.7.2

  • Browser: [Microsoft Edge 92.0.902.67]

@ibrdavid ibrdavid changed the title Tiered Menu with Templating throw 'type check failed fore peop "template". expected Object, git Function. Tiered Menu with Templating throw 'type check failed for prop "template". expected Object, git Function. Oct 4, 2021
@ibrdavid ibrdavid changed the title Tiered Menu with Templating throw 'type check failed for prop "template". expected Object, git Function. Tiered Menu with Templating throw 'type check failed for prop "template". Expected Object, got Function. Oct 4, 2021
@tugcekucukoglu tugcekucukoglu added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Oct 5, 2021
@tugcekucukoglu tugcekucukoglu added this to the 3.8.0 milestone Oct 5, 2021
@tugcekucukoglu tugcekucukoglu self-assigned this Oct 5, 2021
@tugcekucukoglu tugcekucukoglu changed the title Tiered Menu with Templating throw 'type check failed for prop "template". Expected Object, got Function. Tiered Menu with Templating throw 'type check failed for prop "template" Oct 5, 2021
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

No branches or pull requests

2 participants