mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 01:25:52 -05:00
Only require zip code for US addresses
Since we only check for the US, only require for that country. Other countries have zip codes, but it seems better to do it this way than codify which countries do/do not have zip codes (in case local practices are not the same as international information). Fixes #825
This commit is contained in:
parent
85630ffeb4
commit
e7b0415a6b
1 changed files with 1 additions and 1 deletions
|
@ -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" />} />
|
||||||
|
|
Loading…
Reference in a new issue