placeholder-shiv icon indicating copy to clipboard operation
placeholder-shiv copied to clipboard

Password inputs

Open krazyjakee opened this issue 11 years ago • 11 comments

Currently the placeholder for those remains asterisks. Maybe use type="text" until it has focus.

krazyjakee avatar Dec 31 '13 15:12 krazyjakee

Which browser is showing you asterisks?

Walter

On Dec 31, 2013, at 10:24 AM, Jake Cattrall wrote:

Currently the placeholder for those remains asterisks. Maybe use type="text" until it has focus.

— Reply to this email directly or view it on GitHub.

walterdavis avatar Dec 31 '13 16:12 walterdavis

IE9 -- (IE10 in IE9 Mode)

krazyjakee avatar Dec 31 '13 16:12 krazyjakee

Wow, I thought that browser supported placeholders natively. What happens if you disable the shiv?

Walter

On Dec 31, 2013, at 11:24 AM, Jake Cattrall wrote:

IE9 -- (IE10 in IE9 Mode)

— Reply to this email directly or view it on GitHub.

walterdavis avatar Dec 31 '13 16:12 walterdavis

Empty boxes: http://caniuse.com/#search=placeholder

krazyjakee avatar Dec 31 '13 16:12 krazyjakee

Okay, I'm trying something, I'll post a branch for you to try in a moment.

Walter

On Dec 31, 2013, at 11:31 AM, Jake Cattrall wrote:

Empty boxes: http://caniuse.com/#search=placeholder

— Reply to this email directly or view it on GitHub.

walterdavis avatar Dec 31 '13 16:12 walterdavis

Okay, check out branch 'password' and see if that does the trick for you.

Walter

On Dec 31, 2013, at 11:31 AM, Jake Cattrall wrote:

Empty boxes: http://caniuse.com/#search=placeholder

— Reply to this email directly or view it on GitHub.

walterdavis avatar Dec 31 '13 16:12 walterdavis

Still the same issue but are you able to test it locally for yourself as I really don't trust IE to be honest with me?

krazyjakee avatar Dec 31 '13 16:12 krazyjakee

I haven't fired up my vm in almost a year! I suppose I can test it here. Are you using the jQuery or the Prototype branch?

Walter

On Dec 31, 2013, at 11:40 AM, Jake Cattrall wrote:

Still the same issue but are you able to test it locally for yourself as I really don't trust IE to be honest with me.

— Reply to this email directly or view it on GitHub.

walterdavis avatar Dec 31 '13 16:12 walterdavis

I'm using the jquery branch.

Hopefully you can reach this temp url: http://jakecattrall.no-ip.org:3000/signup

krazyjakee avatar Dec 31 '13 16:12 krazyjakee

Testing in IE 8, it appears as though the type attribute is not writeable. I can only imagine this is a security feature, to keep someone from changing the type of a password field like this. A native placeholder does not behave this way, gives you a proper text view of the placeholder text even though any type you enter in the field will be obscured by bullets or stars.

The only work-around I have found is to clone the field entirely, and replace the password field with a text field, and vice-versa. This seems prone to failure. I need to spend more time on it than I currently have to work on it. I would accept a patch that followed this method.

Walter

On Dec 31, 2013, at 11:47 AM, Jake Cattrall wrote:

I'm using the jquery branch.

— Reply to this email directly or view it on GitHub.

walterdavis avatar Dec 31 '13 17:12 walterdavis

Thanks very much for your time

krazyjakee avatar Dec 31 '13 17:12 krazyjakee