Merge branch 'checkbox_tabindex' of github.com:Xotic750/iview into checkbox_tabindex

This commit is contained in:
Graham Fairweather 2018-01-19 07:08:06 +01:00
commit 4f3bedf19b

View file

@ -8,22 +8,26 @@
<input
v-if="group"
type="checkbox"
tabindex="-1"
tabindex="-1"
:class="inputClasses"
:disabled="disabled"
:value="label"
v-model="model"
:name="name"
@change="change">
@change="change"
@focus="$el.focus()"
>
<input
v-if="!group"
type="checkbox"
tabindex="-1"
tabindex="-1"
:class="inputClasses"
:disabled="disabled"
:checked="currentValue"
:name="name"
@change="change">
@change="change"
@focus="$el.focus()"
>
</span>
<slot><span v-if="showSlot">{{ label }}</span></slot>
</label>