1.0.0-beta.11
.attributes().value on input wrapperGet value of the wrapper
Returns undefined
http://prntscr.com/inoeth
Sorry if this already known issue, or is not an issue at all. Didn't find similar problem. And on docs is no mention that it doesn't work with value attribute
This is expected behavior.
Setting the value with v-bind sets it as a DOM prop, not as an attribute. You can read about the difference here. My advice is to check the value property:
const wrapper = mount(Component)
wrapper.element.value
Most helpful comment
This is expected behavior.
Setting the value with v-bind sets it as a DOM prop, not as an attribute. You can read about the difference here. My advice is to check the value property: