karol-f / vue-custom-element

Vue Custom Element - Web Components' Custom Elements for Vue.js
https://karol-f.github.io/vue-custom-element/
MIT License
1.97k stars 187 forks source link

Bug Found In Boolean Prop Validation #103

Closed au-z closed 6 years ago

au-z commented 6 years ago

Hi karol-f, In testing my recent contribution to the repo, I've come across a small issue around boolean prop validations. For some values, Boolean(value) evaluates to an unexpected result. Here is a demonstration using vue-custom-element 3.0.0: https://codepen.io/auzmartist/pen/jxOebb

I am currently finishing up a fix. Just thought I'd let you know one is on the way. 👍

karol-f commented 6 years ago

Released in vue-custom-element@3.0.4. Thanks for contribution!