<h3 dir="auto">Version</h3>
<p dir="auto">2.6.11</p>
<h3 dir="auto">Reproduction link</h3>
<p dir="auto"><a href="https://jsfiddle.net/sqh8jL65/4/" rel="nofollow">https://jsfiddle.net/sqh8jL65/4/</a></p>
<h3 dir="auto">Steps to reproduce</h3>
<ol dir="auto">
<li>Add the bindings <code class="notranslate">:selected="'selected'"</code> and <code class="notranslate">:random="'random'"</code> to an <code class="notranslate">option</code> element.</li>
</ol>
<h3 dir="auto">What is expected?</h3>
<p dir="auto">The <code class="notranslate">option</code> element is rendered in the DOM with both the <code class="notranslate">selected="selected"</code> and <code class="notranslate">random="random"</code> attributes present.</p>
<h3 dir="auto">What is actually happening?</h3>
<p dir="auto">The <code class="notranslate">option</code> element is rendered in the DOM with only the <code class="notranslate">random="random"</code> attribute present.</p>
<hr>
<p dir="auto">When writing a template with a <code class="notranslate">select</code> element which is using <code class="notranslate">@change</code> and <code class="notranslate">:selected</code> bindings on its <code class="notranslate">option</code> elements, I expect the resulting DOM to contain the <code class="notranslate">selected</code> attribute. I need this because that’s how native HTML behaves and because it would allow me to select the selected option using vue-test-utils and <code class="notranslate">wrapper.find('option[selected]')</code> which is currently impossible (<strong>Update</strong>: one can use <code class="notranslate">wrapper.find('option:checked')</code> as a workaround).</p>
<h3 dir="auto">Version</h3>
<p dir="auto">2.5.13</p>
<h3 dir="auto">Reproduction link</h3>
<p dir="auto"><a href="https://jsfiddle.net/50wL7mdz/165238/" rel="nofollow">https://jsfiddle.net/50wL7mdz/165238/</a></p>
<h3 dir="auto">Steps to reproduce</h3>
<p dir="auto">Create a component property that has <code class="notranslate">[Boolean, String]</code> types. The HTML5-like attribute doesn't behave like a normal Boolean value anymore, instead it gets discarded as empty string.</p>
<h3 dir="auto">What is expected?</h3>
<p dir="auto">I would expect both the HTML5 attribute and the v-bind attribute to have the same output.</p>
<h3 dir="auto">What is actually happening?</h3>
<p dir="auto">When adding String as a prop type as well, the HTML5 attribute version is not working.</p>