ngx-mask
ngx-mask copied to clipboard
change the color of showMaskTyped
Actually, there was an issue but it closed as it was not recognized properly, I think. https://github.com/JsDaddy/ngx-mask/issues/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.
+1 to this. as it is now the mask initially is actually the value of the input. see markup
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.