Sep 30, 2011, 8:23 AM
[CLOSED] Readonly issue
Hi
We had some issues with setting fields readonly - I saw similar posts and I am not sure if it is solved already.
Issue is related to Ext.net override of setReadOnly for form field
Ext.net
We had some issues with setting fields readonly - I saw similar posts and I am not sure if it is solved already.
Issue is related to Ext.net override of setReadOnly for form field
Ext.net
setReadOnly : function (readOnly) {
if (this.rendered) {
this.el.dom.setAttribute("readOnly", readOnly);
this.el.dom.readOnly = readOnly;
} else {
this.readOnly = readOnly;
}
}
Ext.js
setReadOnly : function(readOnly){
if(this.rendered){
this.el.dom.readOnly = readOnly;
}
this.readOnly = readOnly;
},
As you can see Ext.net override is not updating readOnly property for field based on passed value if field is rendered.
Last edited by Daniil; Oct 05, 2011 at 10:51 AM.
Reason: [CLOSED]