diff --git a/vendor/magento/module-customer-custom-attributes/view/frontend/layout/customer_account_edit.xml b/vendor/magento/module-customer-custom-attributes/view/frontend/layout/customer_account_edit.xml index 7824cbd91186..6b2b4869c893 100644 --- a/vendor/magento/module-customer-custom-attributes/view/frontend/layout/customer_account_edit.xml +++ b/vendor/magento/module-customer-custom-attributes/view/frontend/layout/customer_account_edit.xml @@ -23,6 +23,7 @@ Magento\Customer\Model\Customer + Magento\Framework\View\Element\ButtonLockManager CustomerFileAttribute diff --git a/vendor/magento/module-customer-custom-attributes/view/frontend/templates/customer/form/edit.phtml b/vendor/magento/module-customer-custom-attributes/view/frontend/templates/customer/form/edit.phtml index 7d2543c73854..97bb8fe08912 100644 --- a/vendor/magento/module-customer-custom-attributes/view/frontend/templates/customer/form/edit.phtml +++ b/vendor/magento/module-customer-custom-attributes/view/frontend/templates/customer/form/edit.phtml @@ -129,7 +129,10 @@ use Magento\Customer\Block\Widget\Taxvat;
-
diff --git a/vendor/magento/module-customer-custom-attributes/view/frontend/templates/customer/form/register.phtml b/vendor/magento/module-customer-custom-attributes/view/frontend/templates/customer/form/register.phtml index 70d10a3f1d16..30a495f6676a 100644 --- a/vendor/magento/module-customer-custom-attributes/view/frontend/templates/customer/form/register.phtml +++ b/vendor/magento/module-customer-custom-attributes/view/frontend/templates/customer/form/register.phtml @@ -25,8 +25,6 @@ $directoryHelper = $block->getData('directoryHelper'); $formData = $block->getFormData(); /** @var \Magento\CustomerCustomAttributes\ViewModel\Address\RegionProvider $regionProvider */ $regionProvider = $block->getRegionProvider(); -/** @var \Magento\Customer\ViewModel\CreateAccountButton $createAccountButtonViewModel */ -$createAccountButtonViewModel = $block->getData('create_account_button_view_model'); ?>
getData('create_account_button_view_mode class="action submit primary" title="escapeHtmlAttr(__('Create an Account')) ?>" id="send2" - disabled()): ?> disabled="disabled" > + getButtonLockManager()->isDisabled('customer_create_form_submit')): ?> + disabled="disabled" + > escapeHtml(__('Create an Account')) ?>
diff --git a/vendor/magento/module-invitation/view/frontend/layout/magento_invitation_customer_account_create.xml b/vendor/magento/module-invitation/view/frontend/layout/magento_invitation_customer_account_create.xml index 6b7bba3fc6f9..00549d670255 100644 --- a/vendor/magento/module-invitation/view/frontend/layout/magento_invitation_customer_account_create.xml +++ b/vendor/magento/module-invitation/view/frontend/layout/magento_invitation_customer_account_create.xml @@ -12,7 +12,7 @@ - Magento\Customer\ViewModel\CreateAccountButton + Magento\Framework\View\Element\ButtonLockManager