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

Can't figure out how to use with the Primevue Datatable and TreeTable #89

Open
ZiadJ opened this issue Jan 11, 2024 · 2 comments
Open

Comments

@ZiadJ
Copy link

ZiadJ commented Jan 11, 2024

I've been struggling to make it work with the Primevue table components thus far. Is that even possible?
Here, I tried both the function and markup versions:
https://stackblitz.com/edit/e5tnqv?file=src%2FApp.vue

@Alfred-Skyblue
Copy link
Owner

  1. It is not allowed to use useDraggable within the onMounted hook.
  2. Both useDraggable and the v-model of vueDraggable require an initial value and cannot be undefined.

@ZiadJ
Copy link
Author

ZiadJ commented Jan 13, 2024

When you say it is not allowed that's not a Vue limitation right? If so then, hopefully, we can find a way to work around the limitation. Not being able to use it with 3rd party components is an unnecessary limitation as far as I can tell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants