*/
hasChanged : function()
{
- if(this.disabled) {
+ if(this.disabled || this.readOnly) {
return false;
}
return this.loadedValue !== false && String(this.getValue()) !== this.loadedValue;
*/
reset : function(){
this.setValue(this.resetValue);
+ this.originalValue = this.getValue();
this.clearInvalid();
},