vue-strap icon indicating copy to clipboard operation
vue-strap copied to clipboard

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

Open EdgarXolop opened this issue 7 years ago • 0 comments

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

EdgarXolop avatar Aug 25 '17 16:08 EdgarXolop