ngx-mask icon indicating copy to clipboard operation
ngx-mask copied to clipboard

Option to add masked value in ngModel

Open macin40 opened this issue 8 years ago • 2 comments

How can I bind the ngModel with the masked value, Currently if , masking is 00-00-00 (HH-MM-SS), the value of a ngModel variable will be 000000, How can I make the value 00-00-00 in ngModel variable? To be more specific I want the makes characters to be included in ngModel.

macin40 avatar Oct 23 '18 07:10 macin40

@macin4 Hi , please use [dropSpecialCharacters]="false"

NepipenkoIgor avatar Oct 23 '18 13:10 NepipenkoIgor

@NepipenkoIgor Thanks

macin40 avatar Oct 23 '18 13:10 macin40