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

Event modifiers do not pass additional arguments #11686

Closed
Soviut opened this issue Sep 28, 2020 · 1 comment
Closed

Event modifiers do not pass additional arguments #11686

Soviut opened this issue Sep 28, 2020 · 1 comment

Comments

@Soviut
Copy link

Soviut commented Sep 28, 2020

Version

2.6.11

Reproduction link

https://jsfiddle.net/Soviut/0nmfpz9h/4/

Steps to reproduce

  • Note the component emits an $event along with an extra argument string
  • Click the "no prevent" button
  • Note that the message is passed and is displayed
  • Click the "has prevent" button
  • Note that the message is undefined and clears the display

Both buttons also log to the console for more detailed output.

What is expected?

Additional arguments would be passed when event modifiers are used.

What is actually happening?

Additional arguments are being ignored/removed.

@posva
Copy link
Member

posva commented Sep 28, 2020

Duplicate of #10867

@posva posva closed this as completed Sep 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants