Skip to content

Commit 171c80a

Browse files
committed
MC-41611: [Magento Cloud] - "State" field in Address Book in Customer Account (frontend) starts as "text" field but then switches to "drop-down"
1 parent 2f2f74f commit 171c80a

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,6 @@ define([
208208

209209
regionList.show();
210210
regionInput.hide();
211-
this.options.form.find('[type="submit"]').removeAttr('disabled').show();
212211
label.attr('for', regionList.attr('id'));
213212
} else {
214213
this._removeSelectOptions(regionList);
@@ -239,6 +238,7 @@ define([
239238

240239
// Add defaultvalue attribute to state/province select element
241240
regionList.attr('defaultvalue', this.options.defaultRegion);
241+
this.options.form.find('[type="submit"]').removeAttr('disabled').show();
242242
},
243243

244244
/**

0 commit comments

Comments
 (0)