Releases: jackocnr/intl-tel-input
Releases · jackocnr/intl-tel-input
v3.1.0
v3.0.0
- isValidNumber now works in nationalMode
- country-specific placeholders, which auto update (and also work in nationalMode)
- autoFormat now works for all countries as now uses libphonenumber (and now works in nationalMode too)
- cursor-to-end on tab (if autoHideDialCode enabled)
- handle North American Numbering Plan area codes (e.g. change to Canada if type "+1204")
- removed static formatNumber method as doesnt really make sense as relies on an instance of the plugin to load the utils script
- reduced filesize of data.js by generating allCountryCodes on the fly, and removing some obscure countries
- reduced filesize of flags.png by removing unused flags
- lots of bug fixes and new tests written
v2.0.0
- Automatically format the number as the user types
- Full type-to-search in dropdown
- Removed defaultStyling option as hadn't seen anyone using it and it felt like bloat
- Removed dialCodeDelimiter option as superseded by autoFormat option
- Lots of other bug fixes and improvements
v1.2.0
- reduced filesize from country data
- compress css to reduce filesize
- fixes to country data (canada and Caribbean Netherlands)
- more tests
- added public destroy method
- removed redundant defaultStyling=none option
- added responsiveDropdown option
- full type to search
- lots of bug fixes
v1.1.0
- validation script now waits for the load event
- fixed issue with specificity on critical input styling
- when auto-inserting DC, if user hits + then assume typing new number so wipe the DC
- added allowNational argument for public isValidNumber method
- fixed issue with unbinding keypress event
- selecting another country then deleting the dial code no longer takes you back to the default country
- replaced americaMode with more generic nationalMode
v1.0.0
v0.9.17
v0.9.16
v0.9.15
v0.9.14
- fixed issue in firefox: vertical margin on input breaks alignment
- CSS tidyup / alignment fixes
- JS abstraction / tidyup
- arrow now points up while dropdown open
- added title attribute to selected flag (try hovering the selected flag!)
- added getSelectedCountryData public method