diff --git a/src/index.js b/src/index.js index 5c6a55b..972cc3d 100644 --- a/src/index.js +++ b/src/index.js @@ -75,7 +75,7 @@ class MaskedInput extends React.Component { value: this.props.value, formatCharacters: this.props.formatCharacters } - if (this.props.placeholderChar) { + if (this.props.placeholderChar != null) { options.placeholderChar = this.props.placeholderChar } this.mask = new InputMask(options)