-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
Emitting event with cabeb-case name format doesn't work #2526
Comments
see #2429 |
works |
Yes it works but the linter raises a warning |
@vhoyer i'm talking about the camelCase format which works but the linter raises a warning |
@edison1105 i updated that module to the version |
Hi @boussadjra I just peeked into the |
Version
3.0.2
Reproduction link
https://codesandbox.io/s/emit-with-camel-case-issue-tsqn0?file=/src/components/Child.vue
Steps to reproduce
I have a Child component in which I emit an event to the parent component
Container
withcabeb-case
name format:in parent :
What is expected?
i expect that the emitted event should be fired in parent component
What is actually happening?
this doesn't fire the event, but if I change the name to camelCase format it works fine
The linter doesn't accept the camelCase named event
I remarked this after trying to answer this question on Stackoverflow
The text was updated successfully, but these errors were encountered: