You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any component event that emits more than one parameter, like $emit('play', 'foo', 'bar', 'baz') will only pass the first parameter ("foo") to the handler if you use the .once modifier.
What is expected?
All parameters get passed to the event handler. Same behavior as normal v-on, but it only happens once.
What is actually happening?
Only the first parameter gets passed, and the others are dropped.
Looks related to #10867 (which says it's any modifier and not just .once) but that one's from last year, and it's merged & closed... I'm still seeing it in the latest 2.6.11 & 2.6.12
The text was updated successfully, but these errors were encountered:
Version
2.6.11
Reproduction link
https://codepen.io/foundryspatial-duncan/pen/VwjmNqY?editors=1010
Steps to reproduce
Any component event that emits more than one parameter, like
$emit('play', 'foo', 'bar', 'baz')
will only pass the first parameter ("foo") to the handler if you use the.once
modifier.What is expected?
All parameters get passed to the event handler. Same behavior as normal v-on, but it only happens once.
What is actually happening?
Only the first parameter gets passed, and the others are dropped.
Looks related to #10867 (which says it's any modifier and not just
.once
) but that one's from last year, and it's merged & closed... I'm still seeing it in the latest 2.6.11 & 2.6.12The text was updated successfully, but these errors were encountered: