Merge pull request #2855 from Xotic750/checkbox_tabindex

Don't tab to disable checkboxes
This commit is contained in:
Aresn 2018-01-19 14:42:10 +08:00 committed by GitHub
commit 57fe55624e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@
<label
:class="wrapClasses"
@keydown.space.prevent="$el.click()"
tabindex="0">
:tabindex="disabled ? -1 : 0">
<span :class="checkboxClasses">
<span :class="innerClasses"></span>
<input