mirror of
https://github.com/filamentphp/filament.git
synced 2026-10-24 23:35:30 +08:00
Update packages/forms/docs/03-fields/03-select.md
This commit is contained in:
@@ -214,7 +214,7 @@ This can be easily be done using the `ignoreRecord` argument.
|
||||
use Filament\Forms\Components\Select;
|
||||
|
||||
Select::make('parent_id')
|
||||
->relationship('parent', 'name', ignoreRecord: true)
|
||||
->relationship(name: 'parent', titleAttribute: 'name', ignoreRecord: true)
|
||||
```
|
||||
|
||||
### Customizing the relationship query
|
||||
|
||||
Reference in New Issue
Block a user