ngx-mask icon indicating copy to clipboard operation
ngx-mask copied to clipboard

change the color of showMaskTyped

Open Ugmaxie opened this issue 6 years ago • 1 comments

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.

Ugmaxie avatar Oct 24 '19 09:10 Ugmaxie

+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.

ivanvoznyakovsky avatar Nov 05 '19 12:11 ivanvoznyakovsky