Skip to content

Commit

Permalink
fix(SelectCustom): add tabindex -1 to hidden input
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincanac committed Feb 23, 2022
1 parent 0d98d44 commit 09aed4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/components/forms/SelectCustom.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
:class="wrapperClass"
@update:model-value="$emit('update:modelValue', $event)"
>
<input :value="modelValue" :required="required" class="absolute inset-0 w-px opacity-0 cursor-default">
<input :value="modelValue" :required="required" class="absolute inset-0 w-px opacity-0 cursor-default" tabindex="-1">

<ListboxButton :class="selectCustomClass">
<slot>
Expand Down

0 comments on commit 09aed4b

Please sign in to comment.