Skip to content

Commit 57c2aa6

Browse files
Fix the tabbing for username to password on login (#2155)
Co-authored-by: notCharles <charles@pelican.dev>
1 parent 36de4c3 commit 57c2aa6

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

app/Filament/Pages/Auth/Login.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,14 @@ protected function getLoginFormComponent(): Component
6666
->extraInputAttributes(['tabindex' => 1]);
6767
}
6868

69+
protected function getPasswordFormComponent(): Component
70+
{
71+
/** @var TextInput $component */
72+
$component = parent::getPasswordFormComponent();
73+
74+
return $component->extraInputAttributes(['tabindex' => 2]);
75+
}
76+
6977
protected function getOAuthFormComponent(): Component
7078
{
7179
$actions = [];

0 commit comments

Comments
 (0)