Skip to content

Commit

Permalink
Clean region when select country
Browse files Browse the repository at this point in the history
  • Loading branch information
enriquei4 committed Jan 25, 2018
1 parent 5e4bb2b commit 1b2a17c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,8 @@ define([
regionInput.hide();
label.attr('for', regionList.attr('id'));
} else {
this._removeSelectOptions(regionList);

if (this.options.isRegionRequired) {
regionInput.addClass('required-entry').removeAttr('disabled');
requiredLabel.addClass('required');
Expand Down

0 comments on commit 1b2a17c

Please sign in to comment.