From 8fdf5529064a383fd332df50472c02710d0c15f3 Mon Sep 17 00:00:00 2001 From: Charley DAVID Date: Sun, 28 Jan 2018 20:40:41 -0200 Subject: [PATCH] Update Field::Polymorphic doc to include order option --- docs/customizing_dashboards.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/customizing_dashboards.md b/docs/customizing_dashboards.md index c90e511b56..e89ce41c81 100644 --- a/docs/customizing_dashboards.md +++ b/docs/customizing_dashboards.md @@ -124,6 +124,9 @@ Or, to display a distance in kilometers: `:classes` - Specify a list of classes whose objects will be used to populate select boxes for editing this polymorphic field. Default is `[]`. +`:order` - What to sort the association by in the form select. +Default is `nil`. + **Field::DateTime** `:format` - Specify what format, using `strftime` you would like `DateTime`