- Add languages: jp, cn, pt, it, ir, ar, id
- Replace
disableAreaCodes
toenableAreaCodes
defaultCountry
→country
enableSearchField
→enableSearch
- Search update, search countries firstly using iso2 codes
- Set countries using dialCode
- Add Kosovo, subregions: ex-yugos, baltic
- Add
defaultMask
,prefix
- Copy number from input without formatting
- Select whole number when double click
- Pass event object to onChange handler
- Style update: style.css high-res.css material.css bootstrap.css semantic-ui.css plain.css
- Add languages: es, de, ru, fr
- Custom
areaCodes
- Search localized country name #123
renderStringAsFlag
to show string instead of flag- Fix input freezing on area codes #119
- Add
preserveOrder
#109 - Better keyboard support
- Make lib work inside shadow DOM #105 @newying61
- IE Polyfyll startswith #102
- SSR support (removed references to browser objects)
- Change importing method
defaultCountry
update fix #70- Add
disableSearchIcon
,searchStyle
props - Tests
- Custom phone
masks
- Localization using iso2 codes
- Upgrade dependencies & webpack #65 @jnsdls
- Remove lodash #44
- Keep detection of area codes with
disableAreaCodes
#49 - Drop setSelectionRange() check #50
- Customizable placeholder for search field
- Update phone masks
- Fix first number cutting #72
- Styles update, fix SearchField
autoFocus
- SearchField @awthwathje
- Pass props into the input via
inputExtraProps
- Remove
autoFocus
,name
,required
props
- Add
autoFocus
prop to input @mikesholiu - Focus and highlight preferred country
- Abstracts global document and document related properties @Alex-ray
- Fix backspace
- Always show right bracket
- Add containerStyle prop
- Fix areaCodes doesn't change when same country selected
- Make country code not editable by passing prop countryCodeEditable @HasanShehryarJaffri
- Add localization feature
- Add classname to the main container
- Add custom class configurations @Alex-ray
- Add masks for disableCountryCode attribute
- Add attribute to enable non-mask phone lengths
- Make phone formatter to reject non-mask phone lengths
- Add country object to be return to props functions @shaypeleg1
- SearchCountry error fix
- Add
disableDropdown
anddisableCountryCode
- Add feature to select from regions
- Add regions and encapsulation
- Styles changed, styles customization
- Hide dropdown by click outside
- String refs replaced by callback refs
- Hide flag by default, custom placeholder
- Add property to disable area codes
- Fix preferred countires dropdown bug
- Auto-update flag if value field used, caret right-auto-align