Skip to content

Commit 3e319a6

Browse files
authored
Don't overwrite validation settings created by other modules
1 parent c8fc6e1 commit 3e319a6

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Block/Checkout/LayoutProcessor.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,6 @@ public function getShippingFormFields($result)
8484
['shipping-step']['children']['shippingAddress']['children']
8585
['shipping-address-fieldset']['children'];
8686

87-
if (isset($shippingFields['street'])) {
88-
unset($shippingFields['street']['children'][1]['validation']);
89-
unset($shippingFields['street']['children'][2]['validation']);
90-
}
91-
9287
$shippingFields = array_replace_recursive($shippingFields, $shippingPostcodeFields);
9388

9489
$result['components']['checkout']['children']['steps']['children']

0 commit comments

Comments
 (0)