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

$index is not defined - Vue.js v2.4.2 #149

Open
EdgarXolop opened this issue Aug 25, 2017 · 0 comments
Open

$index is not defined - Vue.js v2.4.2 #149

EdgarXolop opened this issue Aug 25, 2017 · 0 comments

Comments

@EdgarXolop
Copy link

EdgarXolop commented Aug 25, 2017

Using Vue.js v2.4.2
When using typeahead component in browser mode and return this error in the browser's console
'$index is not defined'

I resolved it, modifing the line 9572 from the file vue-strap.js

v-for=\"item in items\" to v-for=\"(item,$index) in items\"

Warning : the template of the typeahead result return a blank template, add a custom template

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