Skip to content

Commit

Permalink
Merge pull request #62 from JacobSussan/main
Browse files Browse the repository at this point in the history
add tabindex= -1 onto PasswordWithReveal buttons
  • Loading branch information
mlantz authored May 14, 2024
2 parents 8b74a32 + 687a9d0 commit 0d1b071
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Fields/PasswordWithReveal.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public static function getTemplate($options)
<div class="{fieldClass}">
<div class="input-group mb-3">
{field}
<button type="button" class="{$toggleSelector}-{id} {$toggleClasses}">{$toggle}</button>
<button tabindex="-1" type="button" class="{$toggleSelector}-{id} {$toggleClasses}">{$toggle}</button>
</div>
{errors}
</div>
Expand Down

0 comments on commit 0d1b071

Please sign in to comment.