Skip to content

Releases: jackocnr/intl-tel-input

v5.2.0

21 Feb 09:14
Compare
Choose a tag to compare
  • on clear input: default to last selected flag
  • other bug fixes

v5.1.0

06 Feb 06:24
Compare
Choose a tag to compare
  • Added allowExtensions option - defaults to false

v5.0.0

20 Jan 04:10
Compare
Choose a tag to compare
  • Empty state for flag when invalid dial code
  • Removed preventInvalidNumbers as was wrongly using libphonenumber's AsYouTypeFormatter, which was broken and they explicitly said shouldn't be used for that
  • Added default flash styling on autoFormat's invalid char event, which can easily be overridden

v4.0.0

15 Jan 05:56
Compare
Choose a tag to compare
  • Defaulted nationalMode to true because it's a better experience for the user
  • Rename getCleanNumber to getNumber and take a format type arg
  • Remove responsiveDropdown option and just trigger automatically on small screens
  • Remove useless setCountryData method
  • Change flag CSS from .intl-tel-input .flag to .iti-flag to reduce CSS filesize and allow easier re-use

v3.8.0

11 Jan 04:23
Compare
Choose a tag to compare
  • Added preventInvalidNumbers option
  • Set autocomplete="off" on input to prevent inconsistencies
  • Support readonly inputs
  • Trigger input event when autoFormat is enabled

v3.7.0

02 Nov 22:48
Compare
Choose a tag to compare
  • ipinfoToken option, which is required for ipinfo https support
  • bug fixes

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