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

Choose a tag to compare

@cwill747 cwill747 released this 18 Mar 14:52

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

Choose a tag to compare

@cwill747 cwill747 released this 09 Mar 15:15

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

Choose a tag to compare

@cwill747 cwill747 released this 22 Jan 19:47

Bug fix-

  • #8 - Fix backspacing problem with certain country codes

v0.0.8 - libphonenumber update

Choose a tag to compare

@cwill747 cwill747 released this 23 Dec 18:14

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

Choose a tag to compare

@cwill747 cwill747 released this 24 Sep 23:20

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

v0.0.6

Choose a tag to compare

@cwill747 cwill747 released this 24 Sep 23:12

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

Choose a tag to compare

@cwill747 cwill747 released this 20 Aug 09:42

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

Choose a tag to compare

@cwill747 cwill747 released this 13 Jul 15:09

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

Choose a tag to compare

@cwill747 cwill747 released this 26 Apr 04:58

Initial release