-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Open
Labels
🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.scope: vaporrelated to vapor moderelated to vapor mode
Description
Vue version
3.6.0-alpha.2
Link to minimal reproduction
Steps to reproduce
- open and clear the browser console
- toggle the checkbox
- check the console for warnings
What is expected?
no warning should be printed to the console
What is actually happening?
Using useTemplateRef
in a vapor component will trigger a warning each time the ref's value is updated (when the refed element is unmounted via v-if for example).
sample warning :
[Vue warn] Set operation on key "value" failed: target is readonly.
Object { subs: {…}, subsTail: {…}, flags: 17, __v_isRef: true, __v_isShallow: true, _rawValue: h1, _oldValue: null, _value: h1, _wrap: undefined }
System Info
Any additional comments?
No response
Metadata
Metadata
Assignees
Labels
🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.scope: vaporrelated to vapor moderelated to vapor mode