Skip to content

Commit ed2a80c

Browse files
author
Vasilii
committed
#20527 - Hide configurable product variations table labels from UI not with CSS
1 parent af11e87 commit ed2a80c

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,7 @@ protected function getColumn(
577577
'dataType' => Form\Element\DataType\Text::NAME,
578578
'dataScope' => $name,
579579
'visibleIfCanEdit' => false,
580+
'labelVisible' => false,
580581
'imports' => [
581582
'visible' => '!${$.provider}:${$.parentScope}.canEdit'
582583
],
@@ -595,6 +596,7 @@ protected function getColumn(
595596
'component' => 'Magento_Ui/js/form/components/group',
596597
'label' => $label,
597598
'dataScope' => '',
599+
'showLabel' => false
598600
];
599601
$container['children'] = [
600602
$name . '_edit' => $fieldEdit,

app/design/adminhtml/Magento/backend/web/css/source/forms/fields/_control-table.less

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,6 @@
2525
max-width: 100%;
2626
overflow-x: auto;
2727
overflow-y: hidden;
28-
29-
.admin__control-fields {
30-
.admin__field {
31-
position: relative;
32-
33-
.admin__field-label {
34-
span {
35-
display: none;
36-
}
37-
}
38-
}
39-
}
4028
}
4129

4230
.admin__control-table {

0 commit comments

Comments
 (0)