Skip to content

Commit

Permalink
Fixes #235: Show countrylist when allowDropdown flag is set to true
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomasz Bubała committed Dec 6, 2018
1 parent 14accbe commit 588ebda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/FlagDropDown.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class FlagDropDown extends Component {
ref={ (countryList) => { this.countryList = countryList; } }
dropdownContainer={ this.props.dropdownContainer }
isMobile={ this.props.isMobile }
showDropdown={ this.props.showDropdown }
showDropdown={ this.props.allowDropdown && this.props.showDropdown }
setFlag={ this.props.setFlag }
countries={ this.props.countries }
inputTop={ this.props.inputTop }
Expand Down

0 comments on commit 588ebda

Please sign in to comment.