-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
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
unable to use new-line in v-for attribute #7792
Closed
FranckFreiburger opened this issue
Mar 11, 2018
· 1 comment
· Fixed by annict/annict#1034, annict/annict#1035, owncloud/web#46, OSM-Browser/osm-browser#56 or OSM-Browser/osm-browser#58
Closed
unable to use new-line in v-for attribute #7792
FranckFreiburger opened this issue
Mar 11, 2018
· 1 comment
· Fixed by annict/annict#1034, annict/annict#1035, owncloud/web#46, OSM-Browser/osm-browser#56 or OSM-Browser/osm-browser#58
Comments
Why not created a computed property that does I usually wouldn't recommend putting complex computation directly into the template. |
This was referenced Mar 14, 2018
f2009
pushed a commit
to f2009/vue
that referenced
this issue
Jan 25, 2019
aJean
pushed a commit
to aJean/vue
that referenced
this issue
Aug 19, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
2.5.15
Reproduction link
https://jsfiddle.net/50wL7mdz/177321/
Steps to reproduce
run and look at the error in the console
What is expected?
new-line (\n) support in v-for
What is actually happening?
My real case is much more complex and would need new-line for readability, especially since /* */ comment are accepted.
The text was updated successfully, but these errors were encountered: