Skip to content

Commit

Permalink
Add order option to Field::HasOne documentation (#2375)
Browse files Browse the repository at this point in the history
  • Loading branch information
littleforest authored May 10, 2023
1 parent 26d651e commit 44ad6ce
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 44ad6ce

Please sign in to comment.