Skip to content
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

Vue does not handle prop named value well #988

Open
sidharthramesh opened this issue Mar 24, 2021 · 0 comments
Open

Vue does not handle prop named value well #988

sidharthramesh opened this issue Mar 24, 2021 · 0 comments
Labels
Additional Tests For issues that identify good additional tests to run on all libraries

Comments

@sidharthramesh
Copy link

sidharthramesh commented Mar 24, 2021

Setting value as property on a custom element fails. It gets passed as a string [Object Object] instead.

<custom-element :value.prop="message"></custom-element>
new Vue({
  el: '#app',
  data: {
       message: {'hello': 'world'}
  }
})

Codepen to reproduce: https://codepen.io/tornadoalert/pen/rNjVzbd

@rictic rictic added the Additional Tests For issues that identify good additional tests to run on all libraries label Dec 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Additional Tests For issues that identify good additional tests to run on all libraries
Projects
None yet
Development

No branches or pull requests

2 participants