Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(v-model): v-model setter function not working properly when returning a constant value #10301

Closed
sina-byn opened this issue Feb 9, 2024 · 1 comment

Comments

@sina-byn
Copy link

sina-byn commented Feb 9, 2024

Vue version

3.4.15

Link to minimal reproduction

https://play.vuejs.org/#eNp9Uk9P+zAM/SpWLh3Sft2B21R+EiAOIPFHsBvhUDp3BNIkSpyxadp3x0m3MqHBpWn8nu3n+G3EuXPlMqKYiio0XjmCgBTdf2lU56wn2IDHFrbQettBwdRigG7Xl5b/DBraweXkIJbqMhlAmsaaQNCtZ7giOEsVR0VxIk016ZtyO74Qdk7XhHwDmL2pAMq4SGCNXkPdNOgowFwtFIVpolSHApb/OjtHXZrYvaI/k6LvJgVMuF41GYqLsaDAglq1KN+DNTz6JqsUDRdTGv29I8WCpZhCRhJWa20/b3KMfMTxPt68YfNxJP4eVikmxYPHgH6JUgwY1X6BrCzBV093WeUA8hRRM/sP8BGD1TFp7GkX0cxZ9gEvq73OW1JmMQtXK0IT9kMloYm5zXwpeE/pHX8b/VvuaXma86TZ8iv+WPURC/Vrf86LGQMfqlXowwtbYI6tMnibkFHuxDmjZa0jnuw7qxZGQ85urwMIbCKK3kCRm9TsgECeh82Oyxqz+vzdUXP5/QB/u6/qnUdrh2wl6o20s1jyVjqPWGv7BQquH0c=

Steps to reproduce

just type in the provided input multiple times

What is expected?

the expected behaviour is that the setter function of the model in the define model is supposed to return the 'constant string' no matter what you type in the given input

What is actually happening?

the problem is that the input's value is set as expected only after the first character has been typed and after that it no loger sets the value to be equal to the given constant string

System Info

No response

Any additional comments?

No response

@LinusBorg
Copy link
Member

duplicate of #10279

@github-actions github-actions bot locked and limited conversation to collaborators Feb 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants