comment placeholder option

This commit is contained in:
Ben Wheeler 2019-09-16 21:45:45 -04:00
parent e9605dcca1
commit 87e8b18ab1

View file

@ -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'