Skip to content

Releases: jackocnr/intl-tel-input

v17.0.18

15 Jul 15:54
Compare
Choose a tag to compare
Version 17.0.18

v17.0.7

15 Jul 14:15
Compare
Choose a tag to compare
v17.0.17

Version 17.0.17

v17.0.0

18 Apr 15:05
Compare
Choose a tag to compare
  • Update validationError enum in utils.js to match latest version of libphonenumber
  • Change ID attributes to be unique (both within the dropdown e.g. dupe countries in preferred section, AND across multiple instances of the plugin)

v16.1.0

10 Apr 15:57
Compare
Choose a tag to compare
Update version to v16.1.0

v16.0.0

23 Jun 21:31
Compare
Choose a tag to compare

Breaking changes

  • Switched CSS class names to use BEM, so you shouldn't get any more clashes with generic class names like "highlight"
  • All NANP countries now have just +1 as their dialCode, when some used to include the area code e.g. Barbados used to have dial code +1246 and now has just +1.

v15.1.0

23 May 10:17
Compare
Choose a tag to compare
  • Accessibility: focus highlighted list item

v15.0.0

10 Feb 13:11
Compare
Choose a tag to compare

Change behaviour of autoHideDialCode option

It still clears the input on blur/submit if it just contains a dial code, but now it no longer re-adds it on focus. This is due to a bug (#847): when submitting the form with an empty (but required) input, the browser displayed an error on the input and also focusing it, which caused the plugin to automatically add the dial code which then triggered the browser to remove the error again instantly, so it could actually never be seen. I have also just come to believe more generally that injecting a value on focus is unexpected and dangerous, and so should be avoided.

v14.1.0

09 Feb 15:29
Compare
Choose a tag to compare
  • added getInstance static method

v14.0.6

02 Jan 14:38
Compare
Choose a tag to compare
Version 14.0.6

v14.0.0

23 Sep 18:15
Compare
Choose a tag to compare

We finally removed the jQuery dependency! This changes how you initialise and use the plugin - see readme for details. All of the tests are currently passing on Chrome/Firefox/Safari/IE11.

  • You can no longer initialise the plugin on multiple inputs at once, but other than that AFAICS it should be feature complete
  • Instead of jQuery deferred objects we now use ES6 promises (if available)
  • dropdownContainer option has changed from taking a jQuery selector string, to a node e.g. document.body

I also simplified the CSS media queries in this release, so let me know if you notice any problems with that.