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
3.0.0-beta.20
https://jsfiddle.net/c8q3spj9/1/
Create a component with emits option defined both in a mixin and on the component itself.
emits
emits object should be correctly merge
the emits option from the component seems to override the one from the mixins instead of merging.
In the repro Vue warns: [Vue warn]: Component emitted event "update:modelValue" but it is neither declared in the emits option where it should not.
[Vue warn]: Component emitted event "update:modelValue" but it is neither declared in the emits option
The text was updated successfully, but these errors were encountered:
ba3b3cd
No branches or pull requests
Version
3.0.0-beta.20
Reproduction link
https://jsfiddle.net/c8q3spj9/1/
Steps to reproduce
Create a component with
emits
option defined both in a mixin and on the component itself.What is expected?
emits
object should be correctly mergeWhat is actually happening?
the
emits
option from the component seems to override the one from the mixins instead of merging.In the repro Vue warns:
[Vue warn]: Component emitted event "update:modelValue" but it is neither declared in the emits option
where it should not.The text was updated successfully, but these errors were encountered: