Skip to content

Commit 2f2f74f

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 9d1fe17 commit 2f2f74f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-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
@@ -208,6 +208,7 @@ define([
208208

209209
regionList.show();
210210
regionInput.hide();
211+
this.options.form.find('[type="submit"]').removeAttr('disabled').show();
211212
label.attr('for', regionList.attr('id'));
212213
} else {
213214
this._removeSelectOptions(regionList);

app/code/Magento/Customer/view/frontend/templates/address/edit.phtml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ $viewModel = $block->getViewModel();
202202
<button type="submit"
203203
class="action save primary"
204204
data-action="save-address"
205+
disabled="disabled"
205206
title="<?= $escaper->escapeHtmlAttr(__('Save Address')) ?>">
206207
<span><?= $escaper->escapeHtml(__('Save Address')) ?></span>
207208
</button>

0 commit comments

Comments
 (0)