Commit ee088e63 authored by Matthew Taylor's avatar Matthew Taylor Committed by GitHub

Merge pull request #896 from mewtaylor/issue/gh-825-zip

Fix GH-825: Only require zip code for US addresses
parents 940ec21d e7b0415a
...@@ -745,7 +745,7 @@ module.exports = { ...@@ -745,7 +745,7 @@ module.exports = {
id: 'registration.validationMaxLength' id: 'registration.validationMaxLength'
}) })
}} }}
required /> required={(this.state.countryChoice === 'us')} />
<GeneralError name="all" /> <GeneralError name="all" />
<NextStepButton waiting={this.props.waiting || this.state.waiting} <NextStepButton waiting={this.props.waiting || this.state.waiting}
text={<intl.FormattedMessage id="registration.nextStep" />} /> text={<intl.FormattedMessage id="registration.nextStep" />} />
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment