Reputation: 4659
I found an issue using the latest version of IE11. My disabled input text are grayed out but writable.
Not sure it's something special to my PC (a virtual Win7 64 bit, only used for IE testing, no rare plugin installed).
My IE version is IE 11.0.9600.17280 - 11.0.12
Bug can be reproduced in both 32 and 64 bits version of IE. OS is Windows 7 64 bits.
Testing below code I can update the text box content.
If someone else can reproduce it, or knows about this behavior (bug), please let me know. Help is appreciated.
I found information on similar issue with text input inside disabled fieldtext (fixed), but this is a different issue.
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<form>Can you enter this text field and change the content?
<input type="text" name="test" disabled="disabled">
</form>
</body>
</html>
Upvotes: 0
Views: 2333
Reputation: 152
As Rich said, the behavior is becasue you have enabled the caret option:
But if you want to ensure not to enable to write even with the caret option maybe you could add the following style to the input:
input:disabled {
cursor: default;
pointer-events: none;
}
Hope it helps!
Upvotes: 1
Reputation: 4659
It seems to be a issue on my local IE only.
Colleagues with same IE version could not reproduce it.
No idea what the cause is, but will ignore it for now.
Upvotes: 0