[Vuejs]-Vue 2.0 Invalid expression error when increasing the length of a binding expression in a v-for directive

0đź‘Ť

âś…

Apparently it seems that the problem occurs due to the existence of Javascript keyword “in” inside of the body of one of the tasks (a possible bug in Vue 2.0.1 which we expect to be solved in a next patch release). I have opened an issue in Vue’s github here in case someone is interested in tracking the problem

👤ira

0đź‘Ť

There’s a browser limit on attribute size, which you should never come close to hitting in normal situations.

You shouldn’t have those tasks in the templates like that anyway, though. They’re inaccessible everywhere else in your code. What’s in your components data? That’s where tasks should be originating from in one way or another.

👤Bill Criswell

Leave a comment