From bcd386ca8ca73580b2d0b9b2ac1a322ae6834a30 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Mon, 12 Aug 2024 11:41:58 +1200 Subject: [PATCH] FIX Explicitly don't autoscaffold ElementalArea --- src/Extensions/ElementalPageExtension.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Extensions/ElementalPageExtension.php b/src/Extensions/ElementalPageExtension.php index 77c2d902..7c4fbb4b 100644 --- a/src/Extensions/ElementalPageExtension.php +++ b/src/Extensions/ElementalPageExtension.php @@ -29,6 +29,12 @@ class ElementalPageExtension extends ElementalAreasExtension 'ElementalArea', ]; + private static array $scaffold_cms_fields_settings = [ + 'ignoreFields' => [ + 'ElementalArea', + ], + ]; + /** * The delimiter to separate distinct elements in indexed content. *