You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use a hyphenated prop with single letter. eg. test-p-r-o-p="demo"
There is no way to get the prop in child component
What is Expected?
A way to get hyphenated prop with single letter.
What is actually happening?
When camelize a prop like 'test-p-r-o-p', we get 'testPROP'.
Then hyphenate it, but we get 'test-prop'. camelize & hyphenate function in lang.js should update to fix this case.
The text was updated successfully, but these errors were encountered:
Vue.js version
1.0.26
Reproduction Link
https://jsfiddle.net/hylin/jj2sn38p/
Steps to reproduce
What is Expected?
A way to get hyphenated prop with single letter.
What is actually happening?
When
camelize
a prop like 'test-p-r-o-p', we get 'testPROP'.Then
hyphenate
it, but we get 'test-prop'.camelize
&hyphenate
function in lang.js should update to fix this case.The text was updated successfully, but these errors were encountered: