Skip to content

Releases: jackocnr/intl-tel-input

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

v1.0.0

24 Feb 04:13
Compare
Choose a tag to compare
  • fixed issue on IE: selecting flag puts cursor at beginning
  • position the dropdown above the input depending on layout/scroll
  • added validation via the validationScript option

v0.9.17

22 Feb 03:19
Compare
Choose a tag to compare
  • fixed issue with autoHideDialCode option, where sometimes clicking the input to focus it would leave the cursor in the middle of the dial code (or to the left of it)

v0.9.16

09 Feb 06:02
Compare
Choose a tag to compare
back button

v0.9.15

09 Feb 05:24
Compare
Choose a tag to compare
  • improved vertical centering and made arrow smaller
  • renamed option to dialCodeDelimiter
  • 2 new examples (plus syntax highlighting on examples)

v0.9.14

01 Feb 03:54
Compare
Choose a tag to compare
  • 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