Skip to content

Commit

Permalink
fix(component): set tabindex to 0 instead of 1
Browse files Browse the repository at this point in the history
re #98
  • Loading branch information
Ilya authored and Ilya committed Mar 29, 2019
1 parent 2f241a1 commit ebe593e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/component.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!---->
<div
ref="IZ-select"
:tabindex="disableSearch ? 1 : -1"
:tabindex="disableSearch ? 0 : -1"
class="IZ-select"
@keydown.up="onSelectByArrow"
@keydown.down="onSelectByArrow"
Expand Down Expand Up @@ -49,7 +49,7 @@
:class="inputForTextClass"
:disabled="disableSearch || disabled"
:readonly="readonly"
:tabindex="disableSearch ? -1 : 1"
:tabindex="disableSearch ? -1 : 0"
type="text"
role="combobox"
autocomplete="off"
Expand Down

0 comments on commit ebe593e

Please sign in to comment.