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

allow multiline expression on v_model #2426

Closed
wangmeng1991 opened this issue Oct 19, 2020 · 0 comments · Fixed by #2436
Closed

allow multiline expression on v_model #2426

wangmeng1991 opened this issue Oct 19, 2020 · 0 comments · Fixed by #2436

Comments

@wangmeng1991
Copy link

wangmeng1991 commented Oct 19, 2020

Version

3.0.1

Reproduction link

https://jsbin.com/susulujace/edit?html,output
template compiler

Steps to reproduce

Check the console

What is expected?

allow multiline expression on v_model

What is actually happening?

runner-4.1.8.min.js:1 [Vue warn]: Template compilation error: v-model value must be a valid JavaScript member expression.
1  |  <input v-model="
   |                  ^
2  |                                      toolbar
   |  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3  |                                .model
   |  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4  |                                    ">{{model}}
   |  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 
  at <App>
69hunter added a commit to 69hunter/vue-next that referenced this issue Oct 19, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Nov 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants