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

@nodeclick is not firing #2

Closed
notchris opened this issue May 22, 2018 · 2 comments
Closed

@nodeclick is not firing #2

notchris opened this issue May 22, 2018 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@notchris
Copy link

notchris commented May 22, 2018

First off, this lib is great, thank you!

I'm having trouble getting @nodeclick or @select to fire correctly. @select seems to fire, but does not return the target node. @nodeclick does not fire.

<sl-vue-tree @nodeclick="test(node)" :allowMultiselect="false" v-model="nodes">

also tried...

<sl-vue-tree v-on:nodeclick="test(node)" :allowMultiselect="false" v-model="nodes">

Thanks again! Let me know if I'm doing something wrong.

  • Chris
@holiber holiber self-assigned this Jun 5, 2018
@holiber
Copy link
Owner

holiber commented Jun 5, 2018

Sorry for the late response and thanks for the report. I can confirm that this issue exists. I'm going to create a PR. For now, the workaround is using the select event instead.
<sl-vue-tree @select="selectHanlder" v-model="nodes">

@holiber holiber added the bug Something isn't working label Jun 5, 2018
@holiber
Copy link
Owner

holiber commented Jun 6, 2018

fixed in v1.5.0

@holiber holiber closed this as completed Jun 6, 2018
SamuelIrungu pushed a commit to SamuelIrungu/vue-tree-panel that referenced this issue Jul 25, 2018
beljand added a commit to beljand/sl-vue-tree that referenced this issue Jul 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants