Skip to content

Commit

Permalink
Add validation for phone to billing form
Browse files Browse the repository at this point in the history
  • Loading branch information
Usik2203 committed Jun 23, 2020
1 parent 42889f8 commit d9f626d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/code/Magento/Checkout/Block/Checkout/LayoutProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,9 @@ private function getBillingAddressComponent($paymentCode, $elements)
],
],
'telephone' => [
'validation' => [
'validate-phoneStrict' => 0,
],
'config' => [
'tooltip' => [
'description' => __('For delivery questions.'),
Expand Down

0 comments on commit d9f626d

Please sign in to comment.