Update PageForm schema to comment out SectionBuilderSection: Temporarily disable SectionBuilderSection in the PageForm schema for further evaluation. Adjusted existingData retrieval to utilize null-safe operator for improved data handling.

This commit is contained in:
Ümit Tunç
2025-11-01 17:43:08 -03:00
parent 875ea270cd
commit ca47484d65
2 changed files with 2 additions and 2 deletions
@@ -42,7 +42,7 @@ class PageForm
SeoSection::make(), SeoSection::make(),
// Full Width - Section Builder (Custom Page Sections) // Full Width - Section Builder (Custom Page Sections)
SectionBuilderSection::make(), // SectionBuilderSection::make(),
// Full Width - Dynamic Template System // Full Width - Dynamic Template System
HeaderTemplateSection::make(), HeaderTemplateSection::make(),
@@ -94,7 +94,7 @@ class SectionTemplatesSection
return []; return [];
} }
$existingData = $get('section_data') ?? []; $existingData = $state?->section_data ?? [];
$templateDefaults = $template->default_data ?? []; $templateDefaults = $template->default_data ?? [];
return TemplateService::generateDynamicFields( return TemplateService::generateDynamicFields(