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

v-if or multiple issues? #471

Closed
remoe opened this issue Oct 7, 2014 · 7 comments
Closed

v-if or multiple issues? #471

remoe opened this issue Oct 7, 2014 · 7 comments

Comments

@remoe
Copy link

remoe commented Oct 7, 2014

Hi,

I try to debug the following sample:

http://jsfiddle.net/3dman/4pqau0q1/ (Updated)

Sorry for the complexity, I've mixed multiple features, but I haven't found the main issue.

Please click on "A" and then on the selection button. The selection button doesn't do what I expected. It also doesn't work on "next" branch. Something similar works with 0.10.6.

It would be cool when we can debug such things faster ;)

btw: Vue.config.debug = true doesn't show me any log on next - branch.

@yyx990803
Copy link
Member

If this the right fiddle? I can't seem to find where the issue is...

@remoe
Copy link
Author

remoe commented Oct 7, 2014

Sorry! wrong sample ... Wait for an update :)

@remoe
Copy link
Author

remoe commented Oct 7, 2014

http://jsfiddle.net/3dman/4pqau0q1/ (UPDATE: cloudflare cdn)

@yyx990803
Copy link
Member

There's indeed a bug. Sorry about this. It's fixed in the next branch now...

@yyx990803
Copy link
Member

Some other issues in your code:

  • detailsVisible could just be a computed property.
  • you have a property and a method both called selectionVisible. This is causing conflict and part of the issue. Actually you don't need the method at all.
  • in loadMapList method you didn't define self first.

@remoe
Copy link
Author

remoe commented Oct 7, 2014

Thanks for your fast support and this great project!

@remoe
Copy link
Author

remoe commented Oct 7, 2014

Tested and it works! 🌟

@remoe remoe closed this as completed Oct 7, 2014
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