From 860df122aa761c51e33f45c7b886acd574d0c34d Mon Sep 17 00:00:00 2001 From: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Thu, 15 Aug 2024 13:15:25 +1200 Subject: [PATCH] FIX Explicitly don't autoscaffold ElementalArea (#1231) --- 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. *