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

wrong type appendTo props #4905

Closed
lakkvak opened this issue Nov 30, 2023 · 1 comment
Closed

wrong type appendTo props #4905

lakkvak opened this issue Nov 30, 2023 · 1 comment
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@lakkvak
Copy link

lakkvak commented Nov 30, 2023

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

@lakkvak lakkvak added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Nov 30, 2023
@SchwarzesWasser
Copy link

SchwarzesWasser commented Dec 14, 2023

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 tugcekucukoglu changed the title Portal: wrong type appendTo props wrong type appendTo props Jan 8, 2024
@tugcekucukoglu 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
@tugcekucukoglu tugcekucukoglu added this to the 3.46.0 milestone Jan 8, 2024
@tugcekucukoglu tugcekucukoglu self-assigned this Jan 8, 2024
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

3 participants