It is possible to write into this property only if the PmForm window has not been opened yet.
This property is also functional in Web panels.
var oNumber = oForm.CreateItem("string", "note1", "", "EditType:readonly;");
var sEditType = oNumber.EditType; //Reading the value
oNumber.EditType = "auto"; //Writing the value