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

Error while using multiselect with JSX #90

Closed
voronianski opened this issue Aug 22, 2016 · 3 comments
Closed

Error while using multiselect with JSX #90

voronianski opened this issue Aug 22, 2016 · 3 comments
Labels

Comments

@voronianski
Copy link

I have such an error in my console which breaks the app:

this.$options.filters.filterBy is not a function

I'm using the component inside JSX render method like:

<Multiselect
  options={this.options}
  selected={this.selected}
  on-update={val => this.selected = val}
  placeholder="Type to search or add tag"
/>
@voronianski
Copy link
Author

vuejs/vue#2756

@shentao
Copy link
Owner

shentao commented Aug 23, 2016

Which version of vue-multiselect are you using? There is a beta version that supports Vue 2.0.
Please npm install vue-multiselect@next. It should be working then.
I will add a notice that the 2.0 supporting beta is available. :)

@voronianski
Copy link
Author

@shentao thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants