Skip to content

Commit

Permalink
ENGCOM-4414: Populate label elements for street address fields in che…
Browse files Browse the repository at this point in the history
…ckout #21484
  • Loading branch information
sivaschenko authored Mar 28, 2019
2 parents 84da536 + 8ce2b8e commit df34818
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ protected function getMultilineFieldConfig($attributeCode, array $attributeConfi
for ($lineIndex = 0; $lineIndex < (int)$attributeConfig['size']; $lineIndex++) {
$isFirstLine = $lineIndex === 0;
$line = [
'label' => __("%1: Line %2", $attributeConfig['label'], $lineIndex + 1),
'component' => 'Magento_Ui/js/form/element/abstract',
'config' => [
// customScope is used to group elements within a single form e.g. they can be validated separately
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@

// Checkout address (create shipping address)
.field.street {
.field.additional {
.field {
.label {
&:extend(.abs-visually-hidden all);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@

// Checkout address (create shipping address)
.field.street {
.field.additional {
.field {
.label {
&:extend(.abs-visually-hidden all);
}
Expand Down

0 comments on commit df34818

Please sign in to comment.