Skip to content

Commit

Permalink
populate labels for street lines in checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
scottsb authored and amol2jcommerce committed Mar 31, 2019
1 parent bab223a commit 3e37244
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 @@ -274,6 +274,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 @@ -199,7 +199,7 @@

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

0 comments on commit 3e37244

Please sign in to comment.