insin / react-maskedinput

Masked <input/> React component
http://insin.github.io/react-maskedinput/
MIT License
730 stars 197 forks source link

Not able to set the default placeholder as an empty string #118

Open yvan33 opened 6 years ago

yvan33 commented 6 years ago

Passing placeholderChar='' does not work. For example, if you do:

<MaskedInput mask="1111" name="exampleName" size="20" placeholderChar="" />

the placeholder will still be _ instead of an empty string, while inputmask-core supports empty string it according to this line

yvan33 commented 6 years ago

PR #119 fixes it, @insin or @iamdustan please take a look.

agurtovoy commented 6 years ago

@insin @iamdustan Is there something preventing the acceptance of the aforementioned PR?

zadremal commented 6 years ago

Don`t forget about a space to make it work