Skip to content

Commit ce42e18

Browse files
adityasinghadityasingh
authored andcommitted
ACP2E-1609: Region Field is not getting blank after selecting any region for a country
1 parent 647b34e commit ce42e18

File tree

1 file changed

+3
-0
lines changed
  • app/code/Magento/Customer/view/adminhtml/web/js/form/element

1 file changed

+3
-0
lines changed

app/code/Magento/Customer/view/adminhtml/web/js/form/element/region.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ define([
2323

2424
if (parseFloat(value)) {
2525
this.source.set(this.regionScope, this.indexedOptions[value].label);
26+
}else if(value == undefined)
27+
{
28+
this.source.set(this.regionScope,"");
2629
}
2730
}
2831
});

0 commit comments

Comments
 (0)