Magento ver. 2.3.3

Choose a few allowed countries.

Then go to Customer Address Edit Form in Admin area.

Country dropdown is not as we expected.

If I just use 1 country none will show up if you chose more then it will just take countries from the top.

Anyone had this issue ad anyone solve it?

1 Answer 1


Please open the below path file.


open customer_address_form.xml and remove below code from line number.194

                        <options class="Magento\Directory\Model\ResourceModel\Country\Collection"/>

Remove the above code from the file and move this file to a local folder like below.


After remove that you will see your selected country into customer address edit in M2.

  • It works, but I cannot do it by override in custom module.
    – krybbio
    Dec 6, 2019 at 18:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.