Skip to content

Commit ae8b187

Browse files
⏫ Forwardport of #13051 to 2.3-develop branch
Applied pull request patch https://github.com/magento/magento2/pull/13051.patch (created by @codekipple) based on commit(s): 1. c8ff538
1 parent 8e77e2f commit ae8b187

File tree

1 file changed

+5
-0
lines changed
  • app/code/Magento/Ui/view/base/web/js/form/element

1 file changed

+5
-0
lines changed

app/code/Magento/Ui/view/base/web/js/form/element/region.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ define([
3535
return;
3636
}
3737
option = options[value];
38+
39+
if (typeof option === 'undefined') {
40+
return;
41+
}
42+
3843
defaultPostCodeResolver.setUseDefaultPostCode(!option['is_zipcode_optional']);
3944

4045
if (this.skipValidation) {

0 commit comments

Comments
 (0)