Skip to content

Commit a1cbb1b

Browse files
committed
MC-15012: Uneven displayed fields Status and Attributes
1 parent 01fbfeb commit a1cbb1b

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/TierPrice.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ private function getUpdatedTierPriceStructure(array $priceMeta)
115115
'dataType' => Price::NAME,
116116
'component' => 'Magento_Ui/js/form/components/group',
117117
'label' => __('Price'),
118-
'enableLabel' => true,
118+
'showLabel' => false,
119119
'dataScope' => '',
120120
'additionalClasses' => 'control-grouped',
121121
'sortOrder' => isset($priceMeta['arguments']['data']['config']['sortOrder'])

app/code/Magento/ConfigurableProduct/Ui/DataProvider/Product/Form/Modifier/ConfigurablePanel.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,7 @@ protected function getColumn(
591591
'formElement' => Container::NAME,
592592
'component' => 'Magento_Ui/js/form/components/group',
593593
'label' => $label,
594+
'showLabel' => false,
594595
'dataScope' => '',
595596
];
596597
$container['children'] = [

app/code/Magento/Ui/view/base/web/templates/form/field.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
visible="visible"
99
css="$data.additionalClasses"
1010
attr="'data-index': index">
11-
<div class="admin__field-label">
12-
<label if="$data.label" visible="$data.labelVisible" attr="for: uid">
11+
<div class="admin__field-label" if="$data.label" visible="$data.labelVisible" >
12+
<label attr="for: uid">
1313
<span translate="label" attr="'data-config-scope': $data.scopeLabel" />
1414
</label>
1515
</div>

0 commit comments

Comments
 (0)