Skip to content

Commit

Permalink
Add order option to Field::HasOne documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
littleforest committed Apr 30, 2023
1 parent d9b0e58 commit 47e78c3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/customizing_dashboards.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,10 @@ set this to `0` or `false`. Default is `5`.

**Field::HasOne**

`:order` - Specifies the column used to order the records. It will apply both in
the table views and in the dropdown menu on the record forms.
You can set multiple columns as well with direction. E.g.: `"name, email DESC"`.

`:searchable` - Specify if the attribute should be considered when searching.
Default is `false`.

Expand Down

0 comments on commit 47e78c3

Please sign in to comment.