I recently noticed an issue, that when I disable multi line text and it's view mode is edit, the scroll also disabled and cannot view the rest of the text on ie browser, but it is working on chrome, is this a bug?? and how to solve it.
Solved! Go to Solution.
Hello Omar Taha,
I built a quick demo to reproduce the issue you're seeing and it looks your issue results from the differences between the disabled and read-only attribute:
I did some digging into the multi-line text control properties and although I was unable to find an entirely out of the box solution, the following custom JQuery will provide the read only behavior you're needing.
NWF$('#' + test).attr('readonly','readonly');
I tried to use your script, but readonly does not work for me, I used instead of it this script
where readonly_textarea is the stored id of the multi line text.
Thanks for helping me.
sure no problem!
I was actually only testing in Chrome (wasn't aware IE might treat the read-only attribute differently). I'm glad this got you going in the right direction though, good luck!