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

Dialog component VNode #510

Closed
kayahasa opened this issue Sep 28, 2020 · 6 comments
Closed

Dialog component VNode #510

kayahasa opened this issue Sep 28, 2020 · 6 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@kayahasa
Copy link

using Dialog Node as:

Content

causes below log and doesnt work:
[Vue warn]: resolveDirective can only be used in render() or setup().
runtime-core.esm-bundler.js:233
[Vue warn]: Invalid VNode type:

@cagataycivici
Copy link
Member

Could you please provide more info or a sample project to help us replicate?

@tReMaker
Copy link

vue create test
select preset vue 3
npm install primevue --save

src/App.vue

<template>
  <Button label="Submit" />
</template>

<script>
import Button from 'primevue/button';

export default {
  name: 'App',
  components: {
    Button
  }
}
</script>

npm run serve

in browser console
runtime-core.esm-bundler.js?53ba:38 [Vue warn]: resolveDirective can only be used in render() or setup().
runtime-core.esm-bundler.js?53ba:38 [Vue warn]: withDirectives can only be used inside render functions.
runtime-core.esm-bundler.js?5c40:38 [Vue warn]: Invalid VNode type: Symbol(Fragment) (symbol)

@kayahasa
Copy link
Author

Exactly the same error, Thanks tReMaker 👍

Does using Composition API must ?

@cagataycivici
Copy link
Member

We're working to resolve the issue.

@kayahasa
Copy link
Author

Please note that, this issue is valid for some other components like DataTable, Toast and Dialog (i have tried these components, there may be others)

@cagataycivici cagataycivici self-assigned this Sep 29, 2020
@cagataycivici cagataycivici added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Sep 29, 2020
@cagataycivici cagataycivici added this to the 3.0.0-rc.2 milestone Sep 29, 2020
@cagataycivici
Copy link
Member

This is caused by #511, try with 3.0.0-rc.2 to resolve this problem.

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