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:
@@ -42,7 +42,7 @@ class PageForm
|
||||
SeoSection::make(),
|
||||
|
||||
// Full Width - Section Builder (Custom Page Sections)
|
||||
SectionBuilderSection::make(),
|
||||
// SectionBuilderSection::make(),
|
||||
|
||||
// Full Width - Dynamic Template System
|
||||
HeaderTemplateSection::make(),
|
||||
|
||||
@@ -94,7 +94,7 @@ class SectionTemplatesSection
|
||||
return [];
|
||||
}
|
||||
|
||||
$existingData = $get('section_data') ?? [];
|
||||
$existingData = $state?->section_data ?? [];
|
||||
$templateDefaults = $template->default_data ?? [];
|
||||
|
||||
return TemplateService::generateDynamicFields(
|
||||
|
||||
Reference in New Issue
Block a user