You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a ref variable with a custom function to update value for it (for example, cast to lowercase) and add an input to do so. Enter the string aaaaa and try replacing the middle a with A (select the character and replace). The displayed value has changed to aaAaa, but the variable value has not changed. If you try to replace a with B, the value displayed and the value in the variable will be the same.
video.mov
What is expected?
The register of the displayed value in the input field corresponds to the value of the reactive variable
What is actually happening?
The register of the displayed value in the input field DOES NOT match the value of the reactive variable
Vue version
3.4.15
Link to minimal reproduction
play.vuejs.org
Steps to reproduce
Create a ref variable with a custom function to update value for it (for example, cast to lowercase) and add an input to do so. Enter the string
aaaaaand try replacing the middleawithA(select the character and replace). The displayed value has changed toaaAaa, but the variable value has not changed. If you try to replaceawithB, the value displayed and the value in the variable will be the same.video.mov
What is expected?
The register of the displayed value in the input field corresponds to the value of the reactive variable
What is actually happening?
The register of the displayed value in the input field DOES NOT match the value of the reactive variable
System Info
Any additional comments?
No response