I'm customizing one of my edit forms with
sputility.js to make some of my fields as readonly.
The readonly statement looks like this
It works perfectly fine for all fields except Person field. The Person field is not displaying any data after making it readonly. If i switch it back to editable field using
MakeEditable() the value is still present.
How do i make the Person fields as readonly using SPutility.js v0.14.2 EDIT:
If i manually call the
MakeReadOnly() from console it is working. I have written my code inside
document.ready() function only. so it doesn't get called before the page loads.
I tried using
ExecuteOrDelayUntilScriptLoaded(Function, "sp.js") but they are also not helping.