Skip to content

Commit 47a0298

Browse files
committed
Update README.md
1 parent cf8a553 commit 47a0298

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,19 @@ FilamentDeveloperLoginsPlugin::make()
5151
->enabled(app()->environment('local'))
5252
```
5353

54+
### switchable()
55+
56+
By default, a "Switch to" button is shown in the top right corner of the screen, so you can easily switch between the provided users.
57+
If you want to disable this feature, you can use the switchable() method.
58+
59+
```php
60+
// ...
61+
FilamentDeveloperLoginsPlugin::make()
62+
->switchable(false) // This also accepts a closure.
63+
```
64+
65+
![example-screenshot.png](docs-assets/screenshots/switchable-screenshot.png)
66+
5467
### column()
5568

5669
By default, the user column is set to `email`. If you want to use a different column, you can use the column() method.
17.6 KB
Loading

0 commit comments

Comments
 (0)