should not be able to change date on readonly
[roojs1] / Roo / bootstrap / form / DateField.js
index c93bf08..a489975 100644 (file)
@@ -563,7 +563,10 @@ Roo.extend(Roo.bootstrap.form.DateField, Roo.bootstrap.form.Input,  {
     
     showPopup : function()
     {
-        this.picker().show();
+        if(this.readOnly) {
+                       return;
+               }
+               this.picker().show();
         this.update();
         this.place();