Skip to content

Postcode / Zipcode in checkout form already validated on page load  #18630

Closed
@dverkade

Description

@dverkade

Preconditions

  1. Magento 2.2.6

Related issues

There are several bugs about this, but they are all closed and it's mentioned that this has been resolved in Magento 2.2.X, but unfortunately it's not in the latest version, so opening a new bug report for this issue.

  1. Checkout: ZIP code in shipping address form already validated on page load #7724
  2. Zip / postcode has a default value of * in the checkout #8115

Steps to reproduce (*)

  1. Add products to cart
  2. Checkout as a guest
  3. The tax/defaults/postcode config value in core_config_data is NULL

Expected result (*)

  1. Postcode / Zipcode field should be empty and should not be validated
  2. No error message should be shown that the field is required

Actual result (*)

  1. Postcode / Zipcode field has error message that the field is required

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: CheckoutFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions