Skip to content

defaultCountryCode can't be empty (at least for now)#15812

Merged
brandonkelly merged 3 commits into4.xfrom
bugfix/15771-defaultCountryCode-can't-be-empty
Oct 7, 2024
Merged

defaultCountryCode can't be empty (at least for now)#15812
brandonkelly merged 3 commits into4.xfrom
bugfix/15771-defaultCountryCode-can't-be-empty

Conversation

@i-just
Copy link
Copy Markdown
Contributor

@i-just i-just commented Sep 30, 2024

Description

Make it clear that the defaultCountryCode can’t be set to an empty string.

(Without it, you’re able to set it to an empty string, and then when attempting to add an address, you’d only get a console error about Missing required property country_code., and no “real” feedback for the author.)

Related issues

#15771

@i-just i-just requested a review from brandonkelly September 30, 2024 15:56
@brandonkelly brandonkelly merged commit ed9c725 into 4.x Oct 7, 2024
@brandonkelly brandonkelly deleted the bugfix/15771-defaultCountryCode-can't-be-empty branch October 7, 2024 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants