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

Custom directive params binding problem #1662

Closed
Rhincodon opened this issue Oct 31, 2015 · 1 comment
Closed

Custom directive params binding problem #1662

Rhincodon opened this issue Oct 31, 2015 · 1 comment
Labels

Comments

@Rhincodon
Copy link

Hi. I am using Vue 1.0.3 and trying to bind params into custom directive, but all params parsed as strings. This problem can be seen in this example http://vuejs.org/examples/select2.html on vuejs site. Options param no longer parsed as array, its just a string. I tried to use v-bind, but its also convert params to string [Object, Object].

@yyx990803
Copy link
Member

Ah, this is because of the custom directive didn't setup priority properly after the params API change... the fiddle is fixed with an explicit priority now, but it should work by default next release.

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