insin / insin/inputmask-core

Question: Any reason why blank placeholderChar not supported?

Open
#14 1 comment 3 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
303
Forks
51
PR merge metrics
No merged PRs in 30d

Description

I was trying to use the react-maskedinput library to handle entering percentages with a mask like: '111%'.
Ideally I'd like to not have any placeholderChar because 9% and 99% would both be valid values too.

I tried setting the DEFAULT_PLACEHOLDER_CHAR = '' and commenting out the validation error in InputMask.

Seems to work ok for my pattern but wondering if this will likely cause issues for other patterns?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.