Skip to content

Commit

Permalink
Merge pull request #241 from tomegz/bugfix/Allow-dropdown
Browse files Browse the repository at this point in the history
Fixes #235: Show countrylist when allowDropdown flag is set to true
  • Loading branch information
patw0929 committed Dec 16, 2018
2 parents 49cb852 + 9939696 commit 0e343d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/FlagDropDown.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export default class FlagDropDown extends Component {
}}
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 All @@ -86,7 +86,7 @@ export default class FlagDropDown extends Component {
}}
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 0e343d6

Please sign in to comment.