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
ERROR Failed to compile with 1 errors
error in ./docs/app/pages/Components/Radio/examples/RegularRadio.vue
(Emitted value instead of an instance of Error)
Error compiling template:
<div>
<md-radio v-model="radio" :value="false">Boolean</md-radio>
<md-radio v-model="radio" value="my-radio">String</md-radio>
<md-radio v-model="radio">No Value</md-radio>
<md-radio v-model="radio" disabled>Disabled</md-radio>
<small>Model value: {{ radio }}</small>
</div>
- :value conflicts with v-model on the same element because the latter already expands to a value binding internally
@ ./docs/app/pages/Components/Radio/examples/RegularRadio.vue 10:0-286
@ ./docs/app/pages lazy ^\.\/.*$
@ ./docs/app/config.js
@ ./docs/app/index.js
@ multi ./docs/app/index.js ./build/local/client
Proposed solution
According to the mozilla documentation, the <input type="radio"> control has a attribute value that is a DOMString which is nothing more than a UTF-16 String.
Maybe we should not swim against the current and let MdRadio only accept String.
I can help develop this solution but first I would like to know if you agree in making MdRadio only accept String
The text was updated successfully, but these errors were encountered:
You could install the packages with packages version recorded in yarn.lock via yarn install or downgrade vue and vue-template-compiler to v2.5.4 before that fixed.
Steps to reproduce
After clone vue-material
cd vue-material npm install npm run dev
Which browser?
firefox quantum
google-chrome
What is expected?
compilation completed successfully
What is actually happening?
Proposed solution
According to the mozilla documentation, the
<input type="radio">
control has a attributevalue
that is aDOMString
which is nothing more than aUTF-16 String
.Maybe we should not swim against the current and let MdRadio only accept
String
.I can help develop this solution but first I would like to know if you agree in making MdRadio only accept String
The text was updated successfully, but these errors were encountered: