-
-
Notifications
You must be signed in to change notification settings - Fork 33.9k
Open
Labels
Description
Version
2.6.10
Reproduction link
https://jsfiddle.net/ahy27vu3/
Steps to reproduce
- input[type="text"] value is forced to
'', which is controlled completely - input[type="checkbox"] checked does not work
What is expected?
input[type="checkbox"] checked is forced to false
What is actually happening?
input[type="checkbox"] checked keep the value last entered
Maybe this is designed on purpose,Could you please explain why?
https://github.com/vuejs/vue/blob/dev/src/platforms/web/runtime/modules/dom-props.js#L67
https://github.com/vuejs/vue/blob/dev/src/platforms/web/runtime/modules/dom-props.js#L42
koreahadif and benface