vuejs / Discussion

Vue.js discussion
167 stars 17 forks source link

component id set by v-ref is converted to lower case #423

Closed dazhenhan closed 9 years ago

dazhenhan commented 9 years ago

For example in jade

.ui.modal(v-ref:someModal)

if I access the 'someModal' component, I have to use

this.$refs.somemodal

can't use

this.$refs.someModal

Is it a bug or a Must Be Behaviour in Vue?