Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yvan33 opened this issue Nov 16, 2017 · 3 comments
Open

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

yvan33 opened this issue Nov 16, 2017 · 3 comments

Comments

@yvan33
Copy link

yvan33 commented Nov 16, 2017

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
Copy link
Author

yvan33 commented Nov 16, 2017

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

@agurtovoy
Copy link

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

@zadremal
Copy link

Don`t forget about a space to make it work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants