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

Feature Request - Grey mask value #321

Open
tponthieux opened this issue Dec 8, 2023 · 5 comments
Open

Feature Request - Grey mask value #321

tponthieux opened this issue Dec 8, 2023 · 5 comments

Comments

@tponthieux
Copy link

These days it's expected that unfilled mask values look grey. It would also be better that the input's value does not include the mask characters. The mask with grey text should go in a span behind the input with a transparent background.

@sagarCS
Copy link

sagarCS commented Jan 12, 2024

@sanniassin do we see in the future to add this support, this seems kind of an important feature to add.

@sagarCS
Copy link

sagarCS commented Jan 12, 2024

@tponthieux what did you do to overcome this?

@jim-pickering
Copy link

All of my text fields have the browser default gray placeholder text, except for the Date of Birth field that uses the mask. Its text is black. It really stands out, and makes the form look inconsistent. Can anyone comment on a way to style the color of the maskPlaceholder? Is there a way or workaround?

@jim-pickering
Copy link

Answered my own question. Yes, the maskPlaceholder can be styled. I was having a tough time with cache, which is why it wasn't changing.

@sagarCS
Copy link

sagarCS commented Feb 22, 2024

What solution did you try? Can you share it here please? @jim-pickering

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