From c35f32ee640e60c68b3f47ec1184a050a65a61be Mon Sep 17 00:00:00 2001 From: Arthur de Moulins Date: Fri, 15 Nov 2024 13:21:03 +0100 Subject: [PATCH] fix easyadmin crud --- .../src/Controller/Admin/AttributeDefinitionCrudController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/databox/api/src/Controller/Admin/AttributeDefinitionCrudController.php b/databox/api/src/Controller/Admin/AttributeDefinitionCrudController.php index 666e79aa6..6243c4988 100644 --- a/databox/api/src/Controller/Admin/AttributeDefinitionCrudController.php +++ b/databox/api/src/Controller/Admin/AttributeDefinitionCrudController.php @@ -98,7 +98,7 @@ public function configureFields(string $pageName): iterable yield Field::new('facetEnabled') ->hideOnIndex(); yield ArrayField::new('fallback') - ->hideOnIndex(); + ->onlyOnDetail(); yield TextField::new('key') ->hideOnIndex(); yield IntegerField::new('position');