I created a custom directive for telephone number mask (eg: 123-234-4566). My input box have minlength and maxlength 12. If I copy paste a 10 digit
minlength
maxlength