-
-
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
Error when using v-for in IE10 #7946
Comments
Confirm. I insert: Generated render function in chrome, for example: In ie 10: P.S. With vue 2.5.15 no problem. |
If in vue 2.5.16 revert this commit (71b4b25) then problem disappears. |
IE9 also has this problem |
probably the changes to the regex don'T work in <IE11 ? |
Yes.
Output in chrome: ["value in list", "value", "list"] Output in ie10: [" in list", "", ""] |
http://sjhannah.com/blog/2011/05/17/javascript-matching-all-characters-including-new-line/ May be replace [^] on [\s\S] ? |
Hallo, yeah that should fix the problem. |
VUe doesn't support <IE9. |
Any updates? |
Update vue version to v2.5.16 or v2.5.15, but error reporting. Don't know why? resolved, Thanks! |
What can I do, if I need to use it in ie9+? Wait for next release version or change to 2.5.15? |
Right now, those are your two options, yes. |
If you need one of the other fixes in 2.5.16, you can also just patch it yourself. Search: This worked for me, but I decided to revert to 2.5.15 anyway (don't need any of the other changes in 2.5.16). |
<script src="https://cdn.jsdelivr.net/npm/vue@2.4.2/dist/vue.js"></script>
use “version 2.4.2” is ok |
I'm on version 2.5.7 and still getting this issue with damn IE |
to anyone still experiencing this issue. @symmetriq's tip #7946 (comment) was spot on, reverting to 2.5.15 solves it. I'd assume he's also correct on the regex adjustment. |
Using 2.5.15, fixed it for me; I was seeing the problem on 2.5.17 on IE9. |
Vue@2.5.15 is ok |
2.5.17 have some error on IE9
|
the problem disappears in vue@2.5.17 when using ie9 |
disagree, have some error on 2.5.17, and fix help me |
This will be released in the next version which is coming soon 🙂 |
Version
2.5.16 / 2.5.17
Reproduction link
https://jsfiddle.net/plasmaeng/ndmjjkho/1/
Steps to reproduce
Running the code below in IE10 will result in the following error:
Here is the error message from IE10.
What is expected?
<option>
is generated from 1 to 3.What is actually happening?
<option>
is not generated with error !!!I have persuaded a senior for a long time to introduce Vue.js.
If this problem is solved, we plan to reorganize the site into Vue.js.
Please solve the problem.
The text was updated successfully, but these errors were encountered: