diff --git a/src/Concerns/Schemata.php b/src/Concerns/Schemata.php index e38a76f9..6d3bd346 100644 --- a/src/Concerns/Schemata.php +++ b/src/Concerns/Schemata.php @@ -373,9 +373,9 @@ public static function getSectionsSchema(): array $originalItem = end($items); $clonedItem = array_merge($originalItem, [ 'name' => $originalItem['name'] . ' new', - 'options' => [ + 'options' => array_merge($originalItem['options'], [ 'htmlId' => $originalItem['options']['htmlId'] . Str::random(2), - ], + ]), ]); $items[] = $clonedItem;