From 4b44a1100b9f572ca428682eea80f6527eb0071d Mon Sep 17 00:00:00 2001 From: pxpm Date: Tue, 8 Oct 2024 11:48:03 +0100 Subject: [PATCH] add select2 from array sortable option --- 6.x/crud-fields.md | 1 + 1 file changed, 1 insertion(+) diff --git a/6.x/crud-fields.md b/6.x/crud-fields.md index 082edb94..b9a69023 100644 --- a/6.x/crud-fields.md +++ b/6.x/crud-fields.md @@ -2291,6 +2291,7 @@ CRUD::field([ // select2_from_array 'allows_null' => false, 'default' => 'one', // 'allows_multiple' => true, // OPTIONAL; needs you to cast this to array in your model; + // 'sortable' => true, // requires the field to accept multiple values, and allow the selected options to be sorted. ]); ```