File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/code/Magento/Customer/view/frontend/templates/address Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -23,9 +23,8 @@ $viewModel = $block->getViewModel();
23
23
<?php $ _postcodeValidationClass_value = $ viewModel ->addressGetAttributeValidationClass ('postcode ' ); ?>
24
24
<?php $ _postcodeValidationClass = $ _postcodeValidationClass_value ; ?>
25
25
<?php $ _streetValidationClass = $ viewModel ->addressGetAttributeValidationClass ('street ' ); ?>
26
- <?php $ _streetValidationClass = trim (str_replace ('required-entry ' , '' , $ _streetValidationClass )); ?>
26
+ <?php $ _streetValidationClassNotRequired = trim (str_replace ('required-entry ' , '' , $ _streetValidationClass )); ?>
27
27
<?php $ _regionValidationClass = $ viewModel ->addressGetAttributeValidationClass ('region ' ); ?>
28
-
29
28
<form class="form-address-edit"
30
29
action="<?= $ block ->escapeUrl ($ block ->getSaveUrl ()) ?> "
31
30
method="post"
@@ -74,7 +73,8 @@ $viewModel = $block->getViewModel();
74
73
value="<?= $ block ->escapeHtmlAttr ($ block ->getStreetLine ($ _i + 1 )) ?> "
75
74
title="<?= $ block ->escapeHtmlAttr (__ ('Street Address %1 ' , $ _i + 1 )) ?> "
76
75
id="street_<?= /* @noEscape */ $ _i + 1 ?> "
77
- class="input-text <?= $ block ->escapeHtmlAttr ($ _streetValidationClass ) ?> ">
76
+ class="input-text
77
+ <?= $ block ->escapeHtmlAttr ($ _streetValidationClassNotRequired ) ?> ">
78
78
</div>
79
79
</div>
80
80
<?php endfor ; ?>
You can’t perform that action at this time.
0 commit comments