Declaring kebab case defineModel
name throws an error when binded
#12060
Labels
🔨 p3-minor-bug
Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.
scope: v-model
Vue version
3.5.10
Link to minimal reproduction
https://play.vuejs.org/#eNp9UctOwzAQ/BVrLwGpJKDCpQpIgHoAiYeAoyWUJpvi1rEt2wmVqvw7a4c+VEFvuzOzq9mdNdwak3YtwgRyV1phPHPoW3PDlWiMtp6tmcWa9ay2umEJSZMtda8b84unWWjCJqLzbFhFS6jx2BhZeKSOsTzOLHFWzM7KwuE1Bw4sIy7P9oQwAu9KrWoxTxdOK7K3DuMcSpoXEu2L8UIrx2HCIhO4Qkr9/Rgxb1scbfDyC8vlH/jCrQLG4dWiQ9shhy3nCztHP9DT92dcUb0lG121ktRHyDd0WrbB4yC7a1VFtvd00e1D/KRQ8w83XXlUbnNUMBqUfdRzoM+G1/13+s7uOL2Mc1z19MVNKsfyrbAWCp90hfIgZ672uJNkF1tyejzlSnSxoNJJ7WPAVGcDfhj1Z4c2HE4mx+lVenEO/Q8MJNzx
Steps to reproduce
Observe the warning/error in SFC Playground.
What is expected?
Kebab case being a valid way to declare a name for
defineModel
.What is actually happening?
Warning/error when I declare
defineModel
with kebab case name and bind data in parent component.System Info
No response
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: