We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4421098 commit 5a84c5aCopy full SHA for 5a84c5a
app/code/Magento/Checkout/view/frontend/web/js/model/new-customer-address.js
@@ -25,6 +25,8 @@ define([
25
if (countryId) {
26
if (addressData.region && addressData.region['region_id']) {
27
regionId = addressData.region['region_id'];
28
+ } else if (!addressData['region_id']) {
29
+ regionId = null;
30
} else if (countryId === window.checkoutConfig.defaultCountryId) {
31
regionId = window.checkoutConfig.defaultRegionId;
32
}
0 commit comments