Skip to content

Releases: jackocnr/intl-tel-input

v3.6.0

09 Oct 02:58
Compare
Choose a tag to compare
  • autoFormat feature: trigger custom invalidkey event on invalid key press so can give user feedback
  • tweak autoFormat delete key behaviour: no reformat if delete and cursorAtEnd, never add format suffix on delete - this should also fix an IE8 issue with autoFormat

v3.5.0

03 Oct 01:53
Compare
Choose a tag to compare
  • Added numberType option

v3.4.0

29 Sep 05:25
Compare
Choose a tag to compare
  • Can now set defaultCountry to "auto"

v3.3.0

28 Sep 06:22
Compare
Choose a tag to compare
  • Added public method getValidationError
  • Updated libphonenumber
  • Fail gracefully if call selectCountry with invalid countryCode

v3.2.0

27 Sep 22:50
Compare
Choose a tag to compare
  • Added loadUtils method
  • Bug fixes

v3.1.0

21 Sep 23:50
Compare
Choose a tag to compare
  • Added public method getNumberType
  • Added public method getCleanNumber
  • Added support for maxlength attribute on the input
  • autoFormat now prevents further input when the formatting fails i.e. no longer a potentially valid number
  • Other bug fixes

v3.0.0

07 Sep 02:21
Compare
Choose a tag to compare
  • 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

13 Jul 00:56
Compare
Choose a tag to compare
  • 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

02 Jul 20:18
Compare
Choose a tag to compare
  • 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

03 Mar 04:49
Compare
Choose a tag to compare
  • 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