We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have a directive that calls a sort method and passes an object of options:
<a v-on='click: sortRows({ column: "name" })'>Name</a>
...but, I get two errors:
Error parsing expression: sortRows({ column: "name" }) Directive "v-on:click: sortRows({ column: "name" })" expects a method.
Error parsing expression: sortRows({ column: "name" })
Directive "v-on:click: sortRows({ column: "name" })" expects a method.
I would expect this to work instead of accepting only primitive params.
The text was updated successfully, but these errors were encountered:
This is caused by the parser treating column as an identifier. Current solution is use a method instead of inline expression before it gets fixed.
column
Sorry, something went wrong.
Sounds good.
fix #242 expressions with object literals
e422d95
No branches or pull requests
I have a directive that calls a sort method and passes an object of options:
<a v-on='click: sortRows({ column: "name" })'>Name</a>
...but, I get two errors:
Error parsing expression: sortRows({ column: "name" })
Directive "v-on:click: sortRows({ column: "name" })" expects a method.
I would expect this to work instead of accepting only primitive params.
The text was updated successfully, but these errors were encountered: