Closed
Description
Vue version
3.4.21
Link to minimal reproduction
Steps to reproduce
Make sure to first click on Comp.vue
tab to render it first (dunno why this is needed, but it is).
Click on Dev
to flip it to Prod
in the top nav and see Value:
turns to Value: true
.
What is expected?
Dev and prod mode should work the same, keeping model value a string.
In other words, type annotation shouldn't coerce model's value.
What is actually happening?
Model turns to boolean in prod mode.
System Info
No response
Any additional comments?
Sorry if this has been reported, I couldn't easily find an issue if it was.