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

change the color of showMaskTyped #612

Open
Ugmaxie opened this issue Oct 24, 2019 · 1 comment
Open

change the color of showMaskTyped #612

Ugmaxie opened this issue Oct 24, 2019 · 1 comment
Labels

Comments

@Ugmaxie
Copy link

Ugmaxie commented Oct 24, 2019

Actually, there was an issue but it closed as it was not recognized properly, I think.
#532

The issue is in a situation when regular placeholder is light grey but current with the mask it black.
Yes, I can change its color via setting as a color for input, but all characters which I type will be the same color. Any color setting for the ::placeholder color doesn't work for the current case.

@ivanvoznyakovsky
Copy link

ivanvoznyakovsky commented Nov 5, 2019

+1 to this. as it is now the mask initially is actually the value of the input. see markup
image
hence doing $0.value in console would return "(___)-___-____" which is in the end not expected as if we treat the input as empty it's actual value should be empty as well.
I'd say it'd much more preferable to show the mask as a placeholder when the input is empty which would solve styling problem as well.

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

No branches or pull requests

5 participants