Skip to content

Commit

Permalink
Merge branch '3.x' into pr/7723
Browse files Browse the repository at this point in the history
  • Loading branch information
danharrin committed Aug 13, 2023
2 parents 4e2a634 + 08221b8 commit e4a0065
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/forms/docs/03-fields/19-custom.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ This is the basis of how fields work in Filament. Each field is assigned to a pu
</div>
```

If your component heavily relies on third party libraries, we advise that you asynchronously load the Alpine.js component using the Filament asset system. This ensures that the Alpine.js component is only loaded when it's needed, and not on every page load. To find out how to do this, check out our [Assets documentation](../common/assets#asynchronous-alpinejs-components).
If your component heavily relies on third party libraries, we advise that you asynchronously load the Alpine.js component using the Filament asset system. This ensures that the Alpine.js component is only loaded when it's needed, and not on every page load. To find out how to do this, check out our [Assets documentation](../../support/assets#asynchronous-alpinejs-components).

## Rendering the field wrapper

Expand Down
2 changes: 1 addition & 1 deletion packages/infolists/docs/04-layout/04-tabs.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ Tabs::make('Label')
])
```

<AutoScreenshot name="forms/layout/tabs/icons" alt="Tabs with icons" version="3.x" />
<AutoScreenshot name="infolists/layout/tabs/icons" alt="Tabs with icons" version="3.x" />

### Setting the tab icon position

Expand Down
6 changes: 4 additions & 2 deletions packages/panels/src/Pages/Auth/Login.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ protected function getEmailFormComponent(): Component
->email()
->required()
->autocomplete()
->autofocus();
->autofocus()
->extraInputAttributes(['tabindex' => 1]);
}

protected function getPasswordFormComponent(): Component
Expand All @@ -108,7 +109,8 @@ protected function getPasswordFormComponent(): Component
->hint(filament()->hasPasswordReset() ? new HtmlString(Blade::render('<x-filament::link :href="filament()->getRequestPasswordResetUrl()"> {{ __(\'filament-panels::pages/auth/login.actions.request_password_reset.label\') }}</x-filament::link>')) : null)
->password()
->autocomplete('current-password')
->required();
->required()
->extraInputAttributes(['tabindex' => 2]);
}

protected function getRememberFormComponent(): Component
Expand Down

0 comments on commit e4a0065

Please sign in to comment.