Skip to content

v3.0.0

Compare
Choose a tag to compare
@jackocnr jackocnr released this 07 Sep 02:21
· 2365 commits to master since this release
  • 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