False positive missing required prop due to the hyphanate function #12011
Closed
Description
Vue version
3.4.15
Link to minimal reproduction
Steps to reproduce
You can open the console to see the false positive warning on the above example
What is expected?
It is expected that the hyphanated prop of hasB4BProp
would result to has-b-4-b-prop
What is actually happening?
The hyphanated prop of hasB4BProp
results to has-b4-b-prop
System Info
System:
OS: macOS 14.7
Binaries:
Node: 20.2.0
npm: 9.6.6
Browsers:
Chrome: 128.0.6613.138
npmPackages:
vue: 3.4.15 => 3.4.15
Any additional comments?
Just noticed the false positive warning while the functionality works as expected. Also tested the hyphenate function and found out the reason