react-telephone-input
Advanced tools
Comparing version 1.2.8 to 1.2.9
{ | ||
"name": "react-telephone-input", | ||
"version": "1.2.8", | ||
"version": "1.2.9", | ||
"description": "React component for entering and validating international telephone numbers", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -411,4 +411,3 @@ 'use strict'; | ||
getCountryDropDownList() { | ||
var countryDropDownList = map([this.state.preferredCountries, ...this.props.onlyCountries], function(country, index) { | ||
var countryDropDownList = map(this.state.preferredCountries.concat(this.props.onlyCountries), function(country, index) { | ||
let itemClasses = classNames({ | ||
@@ -415,0 +414,0 @@ country: true, |
1488374