angular-libphonenumber icon indicating copy to clipboard operation
angular-libphonenumber copied to clipboard

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

Open jgerstle opened this issue 8 years ago • 1 comments

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.

jgerstle avatar Mar 27 '16 07:03 jgerstle

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?

cwill747 avatar Mar 28 '16 12:03 cwill747