We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a657a4b commit 15eb414Copy full SHA for 15eb414
1 file changed
src/Fields/FieldTransformer.php
@@ -182,12 +182,17 @@ private static function inlineFieldToVue($field): array
182
183
private static function importFieldToVue($field): array
184
{
185
- return [
+ $import = [
186
'type' => 'import',
187
'fieldset' => $field['import'],
188
'prefix' => $field['prefix'] ?? null,
189
- 'section_behavior' => $field['section_behavior'] ?? 'preserve',
190
];
+
191
+ if (isset($field['section_behavior'])) {
192
+ $import['section_behavior'] = $field['section_behavior'];
193
+ }
194
195
+ return $import;
196
}
197
198
public static function fieldsetFields()
0 commit comments