custom-elements-everywhere
custom-elements-everywhere copied to clipboard
Vue does not handle prop named value well
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