react-maskedinput icon indicating copy to clipboard operation
react-maskedinput copied to clipboard

Not able to set the default placeholder as an empty string

Open yvan33 opened this issue 7 years ago • 3 comments

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 avatar Nov 16 '17 22:11 yvan33

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

yvan33 avatar Nov 16 '17 22:11 yvan33

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

agurtovoy avatar Feb 19 '18 00:02 agurtovoy

Don`t forget about a space to make it work <MaskedInput placeholderChar=" " />

zadremal avatar May 29 '18 15:05 zadremal