mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Merge pull request #10714 from SebastianSchoeps/patch-1
Docs for relation manager: Add missing "?"
This commit is contained in:
@@ -756,7 +756,7 @@ public function table(Table $table): Table
|
||||
To set the title of the relation manager, you can use the `$title` property on the relation manager class:
|
||||
|
||||
```php
|
||||
protected static string $title = 'Posts';
|
||||
protected static ?string $title = 'Posts';
|
||||
```
|
||||
|
||||
To set the title of the relation manager dynamically, you can override the `getTitle()` method on the relation manager class:
|
||||
|
||||
Reference in New Issue
Block a user