Skip to content

Commit

Permalink
Merge pull request #560 from flartet/patch-4
Browse files Browse the repository at this point in the history
Update crud-columns.md
  • Loading branch information
pxpm authored Apr 4, 2024
2 parents 4e5f874 + 0ed5d37 commit da23ec0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions 6.x/crud-columns.md
Original file line number Diff line number Diff line change
Expand Up @@ -678,6 +678,8 @@ The select column will output its connected entity. Used for relationships like
'entity' => 'parent', // the method that defines the relationship in your Model
'attribute' => 'name', // foreign key attribute that is shown to user
'model' => "App\Models\Category", // foreign key model
// OPTIONAL
// 'limit' => 32, // Limit the number of characters shown
],
```

Expand Down

0 comments on commit da23ec0

Please sign in to comment.