Skip to content

Commit 24e5af6

Browse files
authored
Merge pull request #62 from integer-net/fix-category-fieldset-declaration
Fix fieldset declaration of newly created category fieldsets
2 parents b3fa029 + 0c5051e commit 24e5af6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

main/src/Plugin/CategoryDataProviderPlugin.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
namespace IntegerNet\Solr\Plugin;
1010

1111
use Magento\Eav\Model\Config as EavConfig;
12+
use Magento\Ui\Component\Form\Fieldset;
1213

1314
class CategoryDataProviderPlugin
1415
{
@@ -42,6 +43,7 @@ private function prepareFieldsMeta($fieldsMap, $fieldsMeta)
4243
$result[$fieldSet]['children'][$field]['arguments']['data']['config'] = $fieldsMeta[$field];
4344
}
4445
}
46+
$result[$fieldSet]['arguments']['data']['config']['componentType'] = Fieldset::NAME;
4547
}
4648
return $result;
4749
}

0 commit comments

Comments
 (0)