Closed NickGard closed 8 years ago
This is to fix the case where a consumer does not want placeholders. For example, given a pattern '--1111--', a placeholderChar of '', and a value of '4', the input should show '--4--' instead of '--4___--'.
'--1111--'
''
'4'
'--4--'
'--4___--'
Fix for issue https://github.com/insin/inputmask-core/issues/14
This is to fix the case where a consumer does not want placeholders. For example, given a pattern
'--1111--'
, a placeholderChar of''
, and a value of'4'
, the input should show'--4--'
instead of'--4___--'
.