Releases: jackocnr/intl-tel-input
v17.0.18
v17.0.7
v17.0.0
v16.1.0
v16.0.0
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
v15.0.0
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
v14.0.6
v14.0.0
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.