-
-
Notifications
You must be signed in to change notification settings - Fork 9k
Closed as not planned
Closed as not planned
Copy link
Description
Vue version
3.4.15
Link to minimal reproduction
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 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
System Info
System:
OS: macOS 14.2.1
Browsers:
Chrome: 121.0.6167.85
Firefox: 122.0
Safari: 17.2.1
Any additional comments?
No response
mcmimik, dragooon4ik24, frolovsky, zh-lx, NasimYus and 7 more
Metadata
Metadata
Assignees
Labels
No labels