Closed
Description
Vue version
3.4.27
Link to minimal reproduction
Steps to reproduce
click the add button.
What is expected?
number value should the same as numberRef value.
What is actually happening?
when i set defineModel value to 0, somehow is ignored because there is another setter. and it never set to 0 and the value is incrementing. but if the increment line removed, it is set to 0.
System Info
No response
Any additional comments?
is there racing condition between parent and child when sync? should i use emit instead defineModel?
Metadata
Metadata
Assignees
Labels
No labels