Placeholder color
Hi Robin, I know that the topic has been discussed some years ago, but currently I am still facing this issue: how can I change the color of the placeholder? I do not see the option colormask anymore in the code.
Thanks
@andreaguru ,
The option is removed. When there is enough interest, I can add the option back at a later time.
ok, thanks. I would like to mention another small issue, here how to reproduce it:
- use a date mask and write a date, e.g. "01.01.2000"m placeholder used is DD.MM.YYYY
- start deleting the part "01.01" from the end
The result is that the mask shows 02.0M.000Y
Is it a knows issue?
Thanks
@andreaguru, can you try ::placeholder
Count me as interested, I guess.
This was the first thing I noticed and wished was there when implementing a date input with masking. I think for a lot of inputs, like phone number or currency, it's not really needed. But for dates, you don't want it to just have underscores or empty space between the separators, you want it to say something like "MM/DD/YYYY". But if it's all the main text color, at a glance it looks like the input is already filled in. Maybe ::placeholder would help with the initial display, but ideally the text would turn from grey to black as the user typed.
Looks like this has come up a few times. I'm curious why it was removed.
Thanks
I would also like to sign up as interested in having this feature back.
Please re-implement the color mask option 🙏
#972
Colormask is rising from the ashes :-)
@RobinHerbots Hello, does it mean that the ability to change the color of the filler will appear soon?
Yes
@RobinHerbots great news. Thank you!
Still work in progress, but you can have a try by including the colormask.js instead of inputmask.js and use colormask with the same options as inputmask. Also load the colormask.css which you can tune and use to change the colors. Suggestions for optimizing the css are always welcome.