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.
2 parents 807a06d + 2c76aae commit 6efdeabCopy full SHA for 6efdeab
app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/AttributeSet.php
@@ -78,7 +78,13 @@ public function getOptions()
78
\Magento\Eav\Model\ResourceModel\Entity\Attribute\Set\Collection::SORT_ORDER_ASC
79
);
80
81
- return $collection->getData();
+ $collectionData = $collection->getData() ?? [];
82
+
83
+ array_walk($collectionData, function (&$attribute) {
84
+ $attribute['__disableTmpl'] = true;
85
+ });
86
87
+ return $collectionData;
88
}
89
90
/**
0 commit comments