Skip to content

Commit

Permalink
Merge forwardport of #13051 to 2.3-develop branch
Browse files Browse the repository at this point in the history
Applied pull request patch https://github.com/magento/magento2/pull/13051.patch (created by @codekipple) based on commit(s):
  1. c8ff538
  • Loading branch information
magento-engcom-team committed Jan 29, 2018
2 parents bf19409 + ae8b187 commit a15ec34
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/code/Magento/Ui/view/base/web/js/form/element/region.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ define([
return;
}
option = options[value];

if (typeof option === 'undefined') {
return;
}

defaultPostCodeResolver.setUseDefaultPostCode(!option['is_zipcode_optional']);

if (this.skipValidation) {
Expand Down

0 comments on commit a15ec34

Please sign in to comment.