瀏覽代碼

range validator message

jqh 5 年之前
父節點
當前提交
d327d920c4
共有 3 個文件被更改,包括 14 次插入0 次删除
  1. 7 0
      resources/assets/dcat-admin/form.js
  2. 7 0
      resources/assets/dcat-admin/main.js
  3. 0 0
      resources/assets/dcat-admin/main.min.js

+ 7 - 0
resources/assets/dcat-admin/form.js

@@ -188,6 +188,13 @@
                 $c = $form.find('[name="' + column.replace(/end$/, '') + '"]');
             }
 
+            if (!$c.length) {
+                $c = $form.find('[name="' + column.replace(/start\]$/, ']') + '"]');
+            }
+            if (!$c.length) {
+                $c = $form.find('[name="' + column.replace(/end\]$/, ']') + '"]');
+            }
+
             return $c;
         }
 

+ 7 - 0
resources/assets/dcat-admin/main.js

@@ -907,6 +907,13 @@ window.require = window.define = window.exports = window.module = undefined;
                 $c = $form.find('[name="' + column.replace(/end$/, '') + '"]');
             }
 
+            if (!$c.length) {
+                $c = $form.find('[name="' + column.replace(/start\]$/, ']') + '"]');
+            }
+            if (!$c.length) {
+                $c = $form.find('[name="' + column.replace(/end\]$/, ']') + '"]');
+            }
+
             return $c;
         }
 

文件差異過大導致無法顯示
+ 0 - 0
resources/assets/dcat-admin/main.min.js


部分文件因文件數量過多而無法顯示