Skip to content

Vue Tips all over console - events must be in kebab-case to work properly #16

@lauri911

Description

@lauri911

I'm submitting a ...

  • bug report
  • feature request
  • support request

What is the current behavior?

Events are in camelCase and Vue tips all over console, for example:
[Vue tip]: Event "showlist" is emitted in component at node_modules/vue-simple-suggest/lib/vue-simple-suggest.vue but the handler is registered for "showList". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "show-list" instead of "showList".

https://vuejs.org/v2/guide/components-custom-events.html#Event-Names

What is the expected behavior?

https://vuejs.org/v2/guide/components-custom-events.html#Event-Names

What is the motivation / use case for changing the behavior?

Use VueJs best practises to avoid problems.
https://vuejs.org/v2/guide/components-custom-events.html#Event-Names

Please tell us about your environment:

  • Version: 2.0.0-beta.X
  • Browser: [Last Chrome]
  • Language: [ES6/7]

Thank you for very good Select! All other selects around cannot deal with Tab properly, yours can!

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomersrefactoringCode smells, needs refactoring

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions