Roo/bootstrap/form/TimeField.js
authorleon <leon@roojs.com>
Wed, 9 Aug 2023 06:47:26 +0000 (14:47 +0800)
committerleon <leon@roojs.com>
Wed, 9 Aug 2023 06:47:26 +0000 (14:47 +0800)
Roo/bootstrap/form/TimeField.js

index 78b1197..2afd1b9 100644 (file)
@@ -440,12 +440,13 @@ Roo.extend(Roo.bootstrap.form.TimeField, Roo.bootstrap.form.Input,  {
         return (typeof(v) == 'undefined') ? false : v;
     },
 
-    // setValue: function(v)
-    // {
+    setValue: function(v)
+    {
+        var t = this.parseTime(v);
 
-    //     this.value = this.hiddenField.value =  '';
-    //     var v = this.time.format(this.format);
-    // },
+        this.value = this.hiddenField.value =  '';
+        var v = this.time.format(this.format);
+    },
 
     getValue: function()
     {