Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit c84783e

Browse files
committed
Clean region when select country without dropdown for states
1 parent 03b6a61 commit c84783e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ define([
195195
regionInput.hide();
196196
label.attr('for', regionList.attr('id'));
197197
} else {
198+
this._removeSelectOptions(regionList);
198199
if (this.options.isRegionRequired) {
199200
regionInput.addClass('required-entry').removeAttr('disabled');
200201
requiredLabel.addClass('required');

0 commit comments

Comments
 (0)