From 993969696651e9948e26b365cd6f97df73339bce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Buba=C5=82a?= Date: Thu, 6 Dec 2018 09:45:08 +0100 Subject: [PATCH] Fixes #235: Show countrylist when allowDropdown flag is set to true --- src/components/FlagDropDown.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/FlagDropDown.js b/src/components/FlagDropDown.js index e4632b0a6..541b5d164 100644 --- a/src/components/FlagDropDown.js +++ b/src/components/FlagDropDown.js @@ -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} @@ -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}