Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Directive method calls don't support object params #242

Copy link
Copy link
Closed
@destroytoday

Description

@destroytoday
Issue body actions

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.