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-link no longer recognizing $index inside v-for #343

Closed
tylersnyder opened this issue Jan 21, 2016 · 0 comments
Closed

v-link no longer recognizing $index inside v-for #343

tylersnyder opened this issue Jan 21, 2016 · 0 comments

Comments

@tylersnyder
Copy link

The v-link component is no longer recognizing the $index variable when nested inside of a v-for. This worked previously, confirmed in [email protected] and 0.7.8. As of [email protected] this is no longer working.

The resulting URL ends up looking like /:index rather than /0

Fiddle

<li class="step" v-for="driver in drivers" track-by="$index" v-link-active>
  <a v-link="{ name: 'editDriver', params: { index: $index }}">
    {{driver.firstName}} {{driver.lastName}}
  </a>
</li>
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

1 participant