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 ea49234 commit bc508a5Copy full SHA for bc508a5
app/code/Magento/Directory/view/frontend/web/js/region-updater.js
@@ -40,6 +40,11 @@ define([
40
$(this.options.regionListId).on('change', $.proxy(function (e) {
41
this.setOption = false;
42
this.currentRegionOption = $(e.target).val();
43
+
44
+ if(this.currentRegionOption === '') {
45
+ $(this.options.regionListId).val('');
46
+ $(this.options.regionInputId).val('');
47
+ }
48
}, this));
49
50
$(this.options.regionInputId).on('focusout', $.proxy(function () {
0 commit comments