From 1f386032468a94fe1905f74e0eee432d19072aad Mon Sep 17 00:00:00 2001 From: pxpm Date: Tue, 8 Oct 2024 10:48:12 +0100 Subject: [PATCH] add separator to select_multiple column --- 6.x/crud-columns.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/6.x/crud-columns.md b/6.x/crud-columns.md index 9cb261f..062e92d 100644 --- a/6.x/crud-columns.md +++ b/6.x/crud-columns.md @@ -740,6 +740,8 @@ The select_multiple column will output a comma separated list of its connected e 'entity' => 'tags', // the method that defines the relationship in your Model 'attribute' => 'name', // foreign key attribute that is shown to user 'model' => 'App\Models\Tag', // foreign key model + // OPTIONAL + 'separator' => ',', // if you want to use a different separator than the default ',' ], ```