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}