Trigger is lost with custom v-model implementation.
Vue version
3.2.37
Link to minimal reproduction
Steps to reproduce
Create a custom v-model implementation.
Provide a customRef to the custom v-model implementation.
Create a scenario where the setter of the customRef calls trigger but the value hasn't changed.
(Go above/below the max/min in the example.)
What is expected?
The customRef trigger to be honored by the component even though the prop value did not change.
What is actually happening?
The customRef trigger is not honored by the component and synchronization breaks as the prop value did not change.
System Info
No response
Any additional comments?
The basic v-model usage continues to work with customRef triggers, as shown in the example.
Current workaround is to add @change="$event.target.value = value"
to force synchronization.
I'll close this as i don't consider it a bug. The chosen pattern/custom ref implementation is simply not compatible with a component controlled with v-model.
Child Components don't re-render when props don't change - that's a fundamental principle in y Vue's renderer.