You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have same problem. In prop :appendTo="testCont?.$el" we can attach HTML element or instance of component.
In the first case in ref we haven't property .$el and see this warning:
[Vue warn]: Invalid prop: type check failed for prop "appendTo". Expected String with value "[object HTMLDivElement]", got HTMLDivElement
at <Portal appendTo= ....
tugcekucukoglu
changed the title
Portal: wrong type appendTo props
wrong type appendTo props
Jan 8, 2024
tugcekucukoglu
added
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
and removed
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
labels
Jan 8, 2024
Describe the bug
A copy of this #4888
I left a comment there that the suggested option doesn't work #4888 (comment)
Reproducer
https://stackblitz.com/edit/zgwjlu?file=src%2FApp.vue
PrimeVue version
3.40
Vue version
3.x
Language
TypeScript
Build / Runtime
Vue CLI App
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: