Open
Description
Version
2.5.17-beta.0
Reproduction link
https://github.com/nirazul/vue-loader-bug-repro
Steps to reproduce
npm install
npm run build
npm run watch
- Open
./public/index.html
- Inspect
main.bundle.js
in dev tools - On line 9044 you will find a duplicated key
value
What is expected?
A valid output from vue-template-compiler without duplicated value props, or at least a warning that the usage of dynamic input field types is prohibited in certain cases.
What is actually happening?
In IE11 a blank page is rendered
I'm using a centralized component for both radio and checkbox input fields as the markup is 90% the same.
As we switched from webpack 3 to webpack 4, we had to also upgrade the vue-loader version from 12 to 13 or 14, which introduced this bug.
Prior to version 13, vue-template-renderer was not enforcing strict mode on all of its rendered templates. This is now the case, introducing this critical bug.
References:
https://vuejs.org/v2/guide/forms.html#Radio-1
#7048
#6917