Skip to content

Commit 47e78c3

Browse files
committed
Add order option to Field::HasOne documentation
1 parent d9b0e58 commit 47e78c3

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docs/customizing_dashboards.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,10 @@ set this to `0` or `false`. Default is `5`.
128128

129129
**Field::HasOne**
130130

131+
`:order` - Specifies the column used to order the records. It will apply both in
132+
the table views and in the dropdown menu on the record forms.
133+
You can set multiple columns as well with direction. E.g.: `"name, email DESC"`.
134+
131135
`:searchable` - Specify if the attribute should be considered when searching.
132136
Default is `false`.
133137

0 commit comments

Comments
 (0)