Browse Source

新增时间字段CRUD默认关闭autocomplete

Karson 5 years ago
parent
commit
82fc4f971c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/admin/command/Crud.php

+ 1 - 1
application/admin/command/Crud.php

@@ -1459,7 +1459,7 @@ EOD;
         }
 
         if (in_array($datatype, ['date', 'datetime']) || $formatter === 'datetime') {
-            $html .= ", operate:'RANGE', addclass:'datetimerange'";
+            $html .= ", operate:'RANGE', addclass:'datetimerange', autocomplete:false";
         } elseif (in_array($datatype, ['float', 'double', 'decimal'])) {
             $html .= ", operate:'BETWEEN'";
         }