Skip to content

Commit c739ef6

Browse files
⏫ Forwardport of #11254 to 2.3-develop branch
Applied pull request patch https://github.com/magento/magento2/pull/11254.patch (created by @romainruaud) based on commit(s): 1. 43cfc74 Fixed GitHub Issues in 2.3-develop branch: - #10317: Region is being overridden when changing from a required-state country to one that is not required (reported by @nei)
1 parent 8e77e2f commit c739ef6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Checkout/view/frontend/web/js/region-updater.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ define([
206206
regionInput.removeClass('required-entry');
207207
}
208208

209-
regionList.removeClass('required-entry').hide();
209+
regionList.removeClass('required-entry').prop('disabled', 'disabled').hide();
210210
regionInput.show();
211211
label.attr('for', regionInput.attr('id'));
212212
}

0 commit comments

Comments
 (0)