This module hides the country field if it's the only option AND the address field is required. However, there would be cases where the address field is not required, yet it's the only option which has also been set as default. For that case, it is still necessary to hide the Country.
In our case, we are using the require_on_publish β module to require only when the content is being published. So the extra check on 'required' does not help, as it's logical to still have the Country hidden when it's the only option.
Remove the extra required
check from the logic that hides the country when it's the only option.
I will follow up with a patch for this.
Needs review
2.0
Code