mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-03-22 19:05:56 -04:00
comment placeholder option
This commit is contained in:
parent
e9605dcca1
commit
87e8b18ab1
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ class CountryStep extends React.Component {
|
|||
setCountryOptions () {
|
||||
if (this.countryOptions.length === 0) {
|
||||
this.countryOptions = [...countryData.registrationCountryOptions];
|
||||
this.countryOptions.unshift({
|
||||
this.countryOptions.unshift({ // add placeholder as first option
|
||||
disabled: true,
|
||||
label: this.props.intl.formatMessage({id: 'general.country'}),
|
||||
value: 'null'
|
||||
|
|
Loading…
Reference in a new issue