Skip to content
This repository was archived by the owner on Sep 20, 2021. It is now read-only.

Releases: cwill747/angular-libphonenumber

Include non-formatted binding

18 Mar 14:52

Choose a tag to compare

Includes a new variable for the directive that can be used to bind to the non-formatted version of the inputted phone number. Example:

  <input id="phoneNumberTest" type="text" name="phoneNumberTest" ng-model="phoneNumber" phone-number
         country-code="countrycode" non-formatted="nonFormattedPhoneNumber">

Where nonFormattedPhoneNumber will be the phone number with no formatting applied.

v1.0.0 - include libphonenumber.full.js

09 Mar 15:15

Choose a tag to compare

This release includes dist/libphonenumber.full.js, which is a full version of the libphonenumber library with all functions included. dist/libphonenumber.js still includes ONLY the functionality needed for this directive to run, which saves some weight on the page.

You must now choose whether you need the full libphonenumber version or just the stripped-down version needed for this library. Instructions are in the README

v0.0.9

22 Jan 19:47

Choose a tag to compare

Bug fix-

  • #8 - Fix backspacing problem with certain country codes

v0.0.8 - libphonenumber update

23 Dec 18:14

Choose a tag to compare

Update libphonenumber with the latest version from Google's library, and remove a couple of functions that I don't use. Cuts down the library just a bit.

Also, unrelated to requiring the code, I fixed the valid / dirty / pristine table in the demo so that it actually looks like this thing works 😄

v0.0.7 - fix bower

24 Sep 23:20

Choose a tag to compare

Forgot to update bower version for 0.0.6. Instead of forcing a tag-change, just re-release a new one.

v0.0.6

24 Sep 23:12

Choose a tag to compare

This releases fixes the bug where the cursor would move to the end of the input if you were editing the middle of a phone number.

Fixes:

  • #5 - Cursor moving to the end of input when editing the phonenumber
    Chores:
  • Target specific versions of libraries in package.json

Move angular from dependencies to a devDependency

20 Aug 09:42

Choose a tag to compare

This release moves angular from a dependency to a devDependency, so that is does not conflict with other projects like ionic.

Fixes:

  • #4 - Move angular to a devDependency

Chores:

  • Update dist with new version and new license versioning
  • Add npm-debug.log to .gitignore

v0.0.4

13 Jul 15:09

Choose a tag to compare

This release fixes that the phone number formatting does not watch the country code for changes, and will not re-format the number after a country code is changed.

Fixes:

  • #2 - Changing the country code after entering the phone number does'nt formats the phone number field

Chores:

  • Add wallaby.js file for those who use it.

v0.0.3

26 Apr 04:58

Choose a tag to compare

Initial release