Skip to content

Commit 4f91566

Browse files
author
Vasilii Burlacu
committed
Fix issue 12894: Can't remove State is required for all countries
1 parent 07465f8 commit 4f91566

File tree

1 file changed

+1
-0
lines changed
  • app/code/Magento/Directory/etc/adminhtml

1 file changed

+1
-0
lines changed

app/code/Magento/Directory/etc/adminhtml/system.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@
109109
<field id="state_required" translate="label" type="multiselect" sortOrder="1" showInDefault="1" showInWebsite="0" showInStore="0">
110110
<label>State is Required for</label>
111111
<source_model>Magento\Directory\Model\Config\Source\Country</source_model>
112+
<can_be_empty>1</can_be_empty>
112113
</field>
113114
<field id="display_all" translate="label" type="select" sortOrder="8" showInDefault="1" showInWebsite="0" showInStore="0">
114115
<label>Allow to Choose State if It is Optional for Country</label>

0 commit comments

Comments
 (0)