clock input should be fixed...
authorAlan Knowles <alan@roojs.com>
Mon, 8 Feb 2021 02:21:12 +0000 (10:21 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 8 Feb 2021 02:21:12 +0000 (10:21 +0800)
Roo/bootstrap/TimeField.js

index cbf20c2..59de8c5 100644 (file)
@@ -51,7 +51,14 @@ Roo.extend(Roo.bootstrap.TimeField, Roo.bootstrap.Input,  {
      * valid according to {@link Date#parseDate} (defaults to 'H:i').
      */
     format : "H:i",
-       
+
+    getAutoCreate : function()
+    {
+        this.after = '<i class="fa far fa-clock"></i>';
+        Roo.bootstrap.TimeField.superclass.getAutoCreate.call(this);
+
+         
+    },
     onRender: function(ct, position)
     {