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 e854c25 commit cad3806Copy full SHA for cad3806
app/code/Magento/Checkout/view/frontend/web/js/model/shipping-rates-validator.js
@@ -85,8 +85,9 @@ define([
85
uiRegistry.async(formPath + '.' + field)(self.doElementBinding.bind(self));
86
});
87
let regionId = uiRegistry.async(formPath + '.region_id');
88
-
89
- this.bindHandler(regionId(), self.validateDelay);
+ if (regionId() !== undefined) {
+ this.bindHandler(regionId(), self.validateDelay);
90
+ }
91
},
92
93
/**
0 commit comments