-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
<textarea>'s placeholder becomes its value inside <template> in IE10 #760
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
Comments
@fullfs It's not happening for me in Chrome 41. |
@young-steveo yep, it's not. Check out the subject, please :) It occurs in IE10 (probably IE11 too). |
@fullfs Whoops. Missed that, sorry. |
A quick search shows that there is a fixed related issue before: https://github.com/yyx990803/vue/issues/558 . I traced a while and found this issue may come from here: https://github.com/yyx990803/vue/blob/master/src/parsers/template.js#L131 When textarea is a child of template and a placeholder is set, the textarea already contained text which is actually its placeholder. And Vue doesn't handle this situation. Wish it helps a little to this issue. |
@liuyanghejerry great work gathering the information, thanks! |
@fullfs That's right. I guess this is the workaround for now. |
Hello!
http://jsfiddle.net/4ty2v4fc/65/
Edit:
It fails without v-repeat too:
http://jsfiddle.net/4ty2v4fc/66/
The text was updated successfully, but these errors were encountered: