Update packages/forms/docs/03-fields/03-select.md

This commit is contained in:
Dan Harrin
2024-01-26 11:06:22 +00:00
committed by GitHub
parent 40757f9582
commit e1fed57697
+1 -1
View File
@@ -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