insin / inputmask-core

Standalone input mask implementation, independent of any GUI
MIT License
304 stars 52 forks source link

Allow empty string placeholderChars #20

Closed NickGard closed 8 years ago

NickGard commented 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___--'.

NickGard commented 8 years ago

Fix for issue https://github.com/insin/inputmask-core/issues/14