Skip to content

Commit 63516f2

Browse files
authored
Merge pull request #37 from shipperhq/MNB-1966
MNB-1966 fix(region): fixed issue with region - Quebec
2 parents 23f5919 + 5ec9239 commit 63516f2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/view/frontend/web/js/autocomplete.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,10 @@ define([
164164
$('#'+cityDomID).trigger('change');
165165
}
166166
if (region != '') {
167+
// MNB-1966 AutoComplete does not fill in Quebec field when an accent mark is returned from google
168+
if (region == 'Québec') {
169+
region = 'Quebec'
170+
}
167171
if (uiRegistry.get('checkout.steps.shipping-step.shippingAddress.shipping-address-fieldset.region_id')) {
168172
var regionDomId = uiRegistry.get('checkout.steps.shipping-step.shippingAddress.shipping-address-fieldset.region_id').uid;
169173
if ($('#'+regionDomId).length) {

0 commit comments

Comments
 (0)