cwill747 / angular-libphonenumber

nathanhammond/libphonenumber as an angular input mask
Other
40 stars 29 forks source link

Remove output from validator or add the ability to not validate as you type #17

Open jgerstle opened 8 years ago

jgerstle commented 8 years ago

Expected Behavior

I would like to not receive console output for every number entered as I type a phone number

Possible Solution

Either remove the line that outputs that the phone number is not valid, at least in the release versions, or add an option to not validate as I type similar to what you did with the formatter.

cwill747 commented 8 years ago

Hey @jgerstle thanks for the report. Have 1 question though - so I use $log.debug() instead of console.log or the like so that you can turn off debug logging in production with $logProvider.debugEnabled(false). Is that enough for your use case?