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

fix: handle additional args in components' with event modifiers #11746

Closed
wants to merge 1 commit into from
Closed

fix: handle additional args in components' with event modifiers #11746

wants to merge 1 commit into from

Commits on Oct 31, 2020

  1. fix: handle additional args in components' with event modifiers

    Additional args are not passed to the component's events with modifiers.
    with a component template like this
    `<input @keyup="$emit('my-keyup', $event, var1, var2)"/>`
    triggering the event, e.g.
    `<my-component @my-keyup.enter="onMyKeyup"/>`
    the `onMyKeyup` receives the `$event`, but not `var1` and `var2`
    
    hope this PR resolves the issue.
    mshahbazi committed Oct 31, 2020
    Configuration menu
    Copy the full SHA
    6ab4715 View commit details
    Browse the repository at this point in the history