Skip to content

Overriding a binded prop with hypenated syntax instead of camelCase not working #8842

Closed
@AMontagu

Description

@AMontagu

Version

2.5.17

Reproduction link

https://codesandbox.io/s/1zr10x8rpq

Steps to reproduce

  • Create two child components with the same prop in camelCase
  • Bind props from first child to second
  • Try to override camelCase prop in hypenated syntax from first child to second

What is expected?

Prop override correctly

What is actually happening?

Prop keep parent value


Meet this issue because I have a camelCase coding stye. But eslint vue-recommended throw an error if prop is not hypenated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions