Skip to content

Commit e1fa289

Browse files
committed
populate labels for street lines in checkout
1 parent c427332 commit e1fa289

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

app/code/Magento/Checkout/Block/Checkout/AttributeMerger.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@ protected function getMultilineFieldConfig($attributeCode, array $attributeConfi
278278
for ($lineIndex = 0; $lineIndex < (int)$attributeConfig['size']; $lineIndex++) {
279279
$isFirstLine = $lineIndex === 0;
280280
$line = [
281+
'label' => __("%1: Line %2", $attributeConfig['label'], $lineIndex + 1),
281282
'component' => 'Magento_Ui/js/form/element/abstract',
282283
'config' => [
283284
// customScope is used to group elements within a single form e.g. they can be validated separately

app/design/frontend/Magento/blank/Magento_Customer/web/css/source/_module.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165

166166
// Checkout address (create shipping address)
167167
.field.street {
168-
.field.additional {
168+
.field {
169169
.label {
170170
&:extend(.abs-visually-hidden all);
171171
}

app/design/frontend/Magento/luma/Magento_Customer/web/css/source/_module.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@
200200

201201
// Checkout address (create shipping address)
202202
.field.street {
203-
.field.additional {
203+
.field {
204204
.label {
205205
&:extend(.abs-visually-hidden all);
206206
}

0 commit comments

Comments
 (0)