From a3ca517568dd768614935ec2baa6132c91a12f91 Mon Sep 17 00:00:00 2001 From: pawanmishracedcoss Date: Tue, 19 Jan 2021 13:24:56 +0530 Subject: [PATCH] Fixed region field related issue in the customer registration form Fixed region field related issue in the customer registration form if the address is enabled programmatically. --- .../Customer/view/frontend/templates/form/register.phtml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/code/Magento/Customer/view/frontend/templates/form/register.phtml b/app/code/Magento/Customer/view/frontend/templates/form/register.phtml index 5e58f94683ec1..bed27c065f1e4 100644 --- a/app/code/Magento/Customer/view/frontend/templates/form/register.phtml +++ b/app/code/Magento/Customer/view/frontend/templates/form/register.phtml @@ -335,9 +335,9 @@ script; "regionInputId": "#region", "postcodeId": "#zip", "form": "#form-validate", - "regionJson": {$regionJson}, - "defaultRegion": "{$regionId}", - "countriesWithOptionalZip": {$countriesWithOptionalZip} + "regionJson": , + "defaultRegion": "", + "countriesWithOptionalZip": } } }