You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tested your sample on an index.html file (code sandbox doesn't run on IE) and the code works just fine til IE9. I imagine you have something else in your code creating the bug or there is a transpilation bug somewhere else that creates an extra property on an object (that's the only thing I can tell from the error message). Let me know if you find out more information that could help
Hi, and first of all thank you for the help and really fast response.
I've tried your code example and indeed it's working in IE, so I assume it's related to vuecli.
Sorry for that, I should have tested it in a more basic setup.
Version
2.6.10
Reproduction link
https://codesandbox.io/s/serene-flower-nwgc5
Steps to reproduce
I'm trying to create a simple
<input>
-element component, which has dynamic type bindingslike
<input[:type="text|number|tel|email|radio|checkbox"]>
.The following template-example-code is working as intended in all browsers,
but IE is throwing an error, when this code is used:
data.checkbox = []
What is expected?
Normal type-binding like the input[radio] :value-binding example in the docs:
https://vuejs.org/v2/guide/forms.html#Radio-1
What is actually happening?
IE11 error message:
Even if I'm using
:type="'checkbox'"
to bind it directly to a string, it's not working in IE.So currently I need to use
type="checkbox"
with anv-if="type ==='checkbox'"
condition as workaround.Maybe I'm doing something wrong, but the doc example isn't mentioning this caveat.
The text was updated successfully, but these errors were encountered: